Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ChannelBinding Class

Namespace: Rebex.Security.Authentication
Assembly: Rebex.Common.dll (version 7.0.9147)

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>
Inheritance
Object
ChannelBinding
Implements
IEquatable<ChannelBinding>
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Remarks

The following Rebex types provide ChannelBinding. Use their GetChannelBinding instance method to retrieve ChannelBinding.

  • TlsSocket
  • TlsStream
  • TlsClientSocket
  • TlsServerSocket

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 other is equal to this object.

Equals(Object)

Determines whether the specified obj is equal to this object.

GetHashCode()

Gets a hash code of this object.

ToString()

Returns a string representation of the current ChannelBinding.

See Also

SecureChannelBinding
Rebex.Net.TlsSocket.GetChannelBinding(Rebex.Security.Authentication.ChannelBindingSpecification)
Rebex.Net.TlsStream.GetChannelBinding(Rebex.Security.Authentication.ChannelBindingSpecification)
In This Article
  • Remarks
  • Constructors
  • Properties
  • Methods
  • See Also
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies