C# Class ASPC.Marvel.CrimeAPI.MultipleSymmetricKeySecurityToken

Represents a security token which contains multiple security keys that are generated using symmetric algorithms.
Inheritance: System.IdentityModel.Tokens.SecurityToken
Show file Open project: Inmeta/aspc2016

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