TlsSocket.GetChannelBinding Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
GetChannelBinding(ChannelBindingType)
Gets an instance of the ChannelBinding that matches the bindingType
.
When the requested ChannelBinding is not available, then it returns an empty instance of the ChannelBinding.
Declaration
public ChannelBinding GetChannelBinding(ChannelBindingType bindingType)
Parameters
Type | Name | Description |
---|---|---|
ChannelBindingType | bindingType | Channel binding type. |
Returns
Type | Description |
---|---|
ChannelBinding | An instance of the ChannelBinding that matches the |
Remarks
ChannelBinding instances are available after successful negotiation.
An instance of the TlsSocket that negotiated TLS 1.2 offers ChannelBinding for the following channel binding types:
An instance of the TlsSocket that negotiated TLS 1.3 offers ChannelBinding for the following channel binding types: