ChannelBinding Class
Namespace: Rebex.Security.Authentication
Assembly: Rebex.Common.dll (version 7.0.9083)
Holds the unique BindingData that matches the binding Type. An instance of the type that plays a role of the low-level secure channel provides a ChannelBinding. See remarks for details.
An instance of the ChannelBinding can be tied with the authentication logic of the application to prevent a man-in-the-middle (MITM) attack.
To set up a relationship between a secure channel and an authentication logic, set the SecureChannelBinding property to an ChannelBinding instance.
See RFC 5056 - On the Use of Channel Bindings to Secure Channels for details.
Syntax
public sealed class ChannelBinding : IEquatable<ChannelBinding>
Implements
Inherited Members
Remarks
The following Rebex types provide ChannelBinding. Use their GetChannelBinding instance method to retrieve ChannelBinding.
Constructors
Name | Description |
---|---|
ChannelBinding(ChannelBindingType, Byte[]) | Initializes a new instance of the ChannelBinding. |
Properties
Name | Description |
---|---|
BindingData | Gets the binding data that matches the binding Type or an empty array when the binding data are unavailable. |
IsEmpty | Gets the indication whether the BindingData array is empty. |
Type | Get the channel binding type. |
Methods
Name | Description |
---|---|
Equals(ChannelBinding) | Determines whether the specified |
Equals(Object) | Determines whether the specified |
GetHashCode() | Gets a hash code of this object. |
ToString() | Returns a string representation of the current ChannelBinding. |