C# Class SampleWebApp.MultipleSymmetricKeySecurityToken

Represents a security token which contains multiple security keys that are generated using symmetric algorithms.
Inheritance: System.IdentityModel.Tokens.SecurityToken
Datei anzeigen Open project: upeo/inbloom-dotnet

Public Methods

Method Description
MatchesKeyIdentifierClause ( System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause ) : bool

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

MultipleSymmetricKeySecurityToken ( IEnumerable keys ) : System

Initializes a new instance of the MultipleSymmetricKeySecurityToken class.

MultipleSymmetricKeySecurityToken ( string tokenId, IEnumerable keys ) : System

Initializes a new instance of the MultipleSymmetricKeySecurityToken class.

Private Methods

Method Description
CreateSymmetricSecurityKeys ( IEnumerable keys ) : List

Method Details

MatchesKeyIdentifierClause() public method

Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier.
public MatchesKeyIdentifierClause ( System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause ) : bool
keyIdentifierClause System.IdentityModel.Tokens.SecurityKeyIdentifierClause A SecurityKeyIdentifierClause to compare to this instance
return bool

MultipleSymmetricKeySecurityToken() public method

Initializes a new instance of the MultipleSymmetricKeySecurityToken class.
public MultipleSymmetricKeySecurityToken ( IEnumerable keys ) : System
keys IEnumerable An enumeration of Byte arrays that contain the symmetric keys.
return System

MultipleSymmetricKeySecurityToken() public method

Initializes a new instance of the MultipleSymmetricKeySecurityToken class.
public MultipleSymmetricKeySecurityToken ( string tokenId, IEnumerable keys ) : System
tokenId string The unique identifier of the security token.
keys IEnumerable An enumeration of Byte arrays that contain the symmetric keys.
return System