Edit

Share via


BinaryKeyIdentifierClause Class

Definition

Represents a base class for key identifier clauses that are based upon binary data.

public ref class BinaryKeyIdentifierClause abstract : System::IdentityModel::Tokens::SecurityKeyIdentifierClause
public abstract class BinaryKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause
type BinaryKeyIdentifierClause = class
    inherit SecurityKeyIdentifierClause
Public MustInherit Class BinaryKeyIdentifierClause
Inherits SecurityKeyIdentifierClause
Inheritance
BinaryKeyIdentifierClause
Derived

Remarks

Typically, the BinaryKeyIdentifierClause does not need to be used, other than when a custom security token service is created. When a security token service returns a security token, the issued security token contains references to attached and unattached security tokens. Attached references refer to security tokens that are contained within the security header of a SOAP message and unattached references are security tokens that are not included within the security header of the SOAP message. These references typically affirm the authenticity of the issued security token.

Constructors

BinaryKeyIdentifierClause(String, Byte[], Boolean)

Initializes a new instance of the BinaryKeyIdentifierClause class using the specified key identifier clause type, binary data and a value that indicates whether the binary data must be cloned.

BinaryKeyIdentifierClause(String, Byte[], Boolean, Byte[], Int32)

Initializes a new instance of the BinaryKeyIdentifierClause class using the specified key identifier clause type, binary data, a value that indicates whether the binary data must be cloned, a nonce and the key length.

Properties

CanCreateKey

Gets a value that indicates whether a key can be created.

(Inherited from SecurityKeyIdentifierClause)
ClauseType

Gets the key identifier clause type.

(Inherited from SecurityKeyIdentifierClause)
DerivationLength

Gets the size of the derived key.

(Inherited from SecurityKeyIdentifierClause)
Id

Gets or sets the key identifier clause ID.

(Inherited from SecurityKeyIdentifierClause)

Methods

CreateKey()

Creates a key based on the parameters passed into the constructor.

(Inherited from SecurityKeyIdentifierClause)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBuffer()

Gets the binary data that represents the key identifier.

GetDerivationNonce()

Gets the nonce that was used to generate the derived key.

(Inherited from SecurityKeyIdentifierClause)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetRawBuffer()

Gets the binary data that represents the key identifier.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
Matches(Byte[])

Returns a value that indicates whether the binary data for the current instance matches the specified binary data.

Matches(Byte[], Int32)

Returns a value that indicates whether the binary data for the current instance is equivalent to the specified binary data at the specified offset.

Matches(SecurityKeyIdentifierClause)

Returns a value that indicates whether the key identifier for this instance is equivalent to the specified key identifier clause.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to