TlsStream.GetChannelBinding Method
Namespace: Rebex.Net
Assembly: Rebex.Tls.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 performed by the AuthenticateAsClient or AuthenticateAsServer method.
An instance of the TlsStream that negotiated TLS 1.2 offers ChannelBinding for the following channel binding types:
An instance of the TlsStream that negotiated TLS 1.3 offers ChannelBinding for the following channel binding specifications: