C# Класс PlaybasisWeb.MultipleSymmetricKeySecurityToken

Represents a security token which contains multiple security keys that are generated using symmetric algorithms.
Наследование: System.IdentityModel.Tokens.SecurityToken
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CreateSymmetricSecurityKeys ( IEnumerable keys ) : List

Описание методов

MatchesKeyIdentifierClause() публичный Метод

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
Результат bool

MultipleSymmetricKeySecurityToken() публичный Метод

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.
Результат System

MultipleSymmetricKeySecurityToken() публичный Метод

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.
Результат System