Επεξεργασία

Κοινή χρήση μέσω


KerberosTicketHashKeyIdentifierClause Class

Definition

Represents a key identifier clause that identifies a KerberosRequestorSecurityToken or KerberosReceiverSecurityToken security token.

public ref class KerberosTicketHashKeyIdentifierClause sealed : System::IdentityModel::Tokens::BinaryKeyIdentifierClause
public sealed class KerberosTicketHashKeyIdentifierClause : System.IdentityModel.Tokens.BinaryKeyIdentifierClause
type KerberosTicketHashKeyIdentifierClause = class
    inherit BinaryKeyIdentifierClause
Public NotInheritable Class KerberosTicketHashKeyIdentifierClause
Inherits BinaryKeyIdentifierClause
Inheritance
KerberosTicketHashKeyIdentifierClause

Remarks

Use the KerberosTicketHashKeyIdentifierClause class to reference a KerberosRequestorSecurityToken or KerberosReceiverSecurityToken security token using a SHA-1 hash of the Kerberos ticket. The SHA-1 hash of the Kerberos ticket can be obtained by calling the GetKerberosTicketHash method.

Constructors

KerberosTicketHashKeyIdentifierClause(Byte[], Byte[], Int32)

Initializes a new instance of the KerberosTicketHashKeyIdentifierClause class using the specified Kerberos ticket, nonce, and key length.

KerberosTicketHashKeyIdentifierClause(Byte[])

Initializes a new instance of the KerberosTicketHashKeyIdentifierClause class using the specified SHA-1 hash of a Kerberos service ticket.

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.

(Inherited from BinaryKeyIdentifierClause)
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)
GetKerberosTicketHash()

Gets the SHA-1 hash of a Kerberos service ticket.

GetRawBuffer()

Gets the binary data that represents the key identifier.

(Inherited from BinaryKeyIdentifierClause)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
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.

(Inherited from BinaryKeyIdentifierClause)
Matches(Byte[])

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

(Inherited from BinaryKeyIdentifierClause)
Matches(SecurityKeyIdentifierClause)

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

(Inherited from BinaryKeyIdentifierClause)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the current object.

Applies to

See also