Uredi

Deli z drugimi prek


BinarySecretSecurityToken Class

Definition

Represents a binary secret security token.

public ref class BinarySecretSecurityToken : System::IdentityModel::Tokens::SecurityToken
public class BinarySecretSecurityToken : System.IdentityModel.Tokens.SecurityToken
type BinarySecretSecurityToken = class
    inherit SecurityToken
Public Class BinarySecretSecurityToken
Inherits SecurityToken
Inheritance
BinarySecretSecurityToken

Constructors

BinarySecretSecurityToken(Byte[])

Initializes a new instance of the BinarySecretSecurityToken class.

BinarySecretSecurityToken(Int32)

Initializes a new instance of the BinarySecretSecurityToken class.

BinarySecretSecurityToken(String, Byte[])

Initializes a new instance of the BinarySecretSecurityToken class.

BinarySecretSecurityToken(String, Byte[], Boolean)

Initializes a new instance of the BinarySecretSecurityToken class.

BinarySecretSecurityToken(String, Int32)

Initializes a new instance of the BinarySecretSecurityToken class.

BinarySecretSecurityToken(String, Int32, Boolean)

Initializes a new instance of the BinarySecretSecurityToken class.

Properties

Id

Gets the token ID.

KeySize

Gets the token key size.

SecurityKeys

Gets a collection of security keys.

ValidFrom

Gets the token effective start time.

ValidTo

Gets the token effective start time.

Methods

CanCreateKeyIdentifierClause<T>()

Gets a value that indicates whether this security token is capable of creating the specified key identifier.

(Inherited from SecurityToken)
CreateKeyIdentifierClause<T>()

Creates the specified key identifier clause.

(Inherited from SecurityToken)
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetKeyBytes()

Gets the bytes that represent the key.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MatchesKeyIdentifierClause(SecurityKeyIdentifierClause)

Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier.

(Inherited from SecurityToken)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ResolveKeyIdentifierClause(SecurityKeyIdentifierClause)

Gets the key for the specified key identifier clause.

(Inherited from SecurityToken)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to