BinarySecretSecurityToken Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Constructors
| Name | Description |
|---|---|
| BinarySecretSecurityToken(Byte[]) |
Initializes a new instance of the BinarySecretSecurityToken class. |
| BinarySecretSecurityToken(String, Byte[], Boolean) |
Initializes a new instance of the BinarySecretSecurityToken class. |
| BinarySecretSecurityToken(String, Byte[]) |
Initializes a new instance of the BinarySecretSecurityToken class. |
| BinarySecretSecurityToken(String, Int32, Boolean) |
Initializes a new instance of the BinarySecretSecurityToken class. |
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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) |
| GetKeyBytes() |
Gets the bytes that represent the key. |
| 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) |
| ResolveKeyIdentifierClause(SecurityKeyIdentifierClause) |
Gets the key for the specified key identifier clause. (Inherited from SecurityToken) |