WrappedKeySecurityToken Classe
Definição
Representa um token de segurança cuja chave é encapsulada dentro de outro token.Represents a security token whose key is wrapped inside another token.
public ref class WrappedKeySecurityToken : System::IdentityModel::Tokens::SecurityToken
public class WrappedKeySecurityToken : System.IdentityModel.Tokens.SecurityToken
type WrappedKeySecurityToken = class
inherit SecurityToken
Public Class WrappedKeySecurityToken
Inherits SecurityToken
- Herança
Comentários
Essa classe representa uma chave criptografada que vem pela conexão.This class represents an encrypted key that comes over the wire. A chave criptografada é uma chave simétrica que é criptografada para a parte receptora usando a chave pública da parte receptora.The encrypted key is a symmetric key that is encrypted for the receiving party using the receiving party's public key. Quando tal chave é recebida, o token de segurança do destinatário é resolvido, a chave simétrica é descriptografada e uma instância dessa classe é criada contendo essas duas informações.When such a key is received, the receiver's security token is resolved, the symmetric key is decrypted, and an instance of this class is created that contains these two pieces of information.
Construtores
| WrappedKeySecurityToken(String, Byte[], String, SecurityToken, SecurityKeyIdentifier) |
Inicializa uma nova instância da classe WrappedKeySecurityToken.Initializes a new instance of the WrappedKeySecurityToken class. |
Propriedades
| Id |
Obtém a ID do token.Gets the token ID. |
| SecurityKeys |
Obtém uma coleção de chaves de segurança.Gets a collection of security keys. |
| ValidFrom |
Obtém a data de início efetiva do token.Gets the token effective start date. |
| ValidTo |
Obtém a data de expiração do token.Gets the token expiration date. |
| WrappingAlgorithm |
Obtém o algoritmo de encapsulamento.Gets the wrapping algorithm. |
| WrappingToken |
Obtém o token de encapsulamento.Gets the wrapping token. |
| WrappingTokenReference |
Obtém a referência do token de encapsulamento.Gets the wrapping token reference. |
Métodos
| CanCreateKeyIdentifierClause<T>() |
Obtém um valor que indica se o token pode criar uma cláusula do identificador de chave.Gets a value that indicates whether the token can create a key identifier clause. |
| CreateKeyIdentifierClause<T>() |
Criar uma cláusula do identificador de chave.Create a key identifier clause. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| GetWrappedKey() |
Obtém a chave encapsulada.Gets the wrapped key. |
| MatchesKeyIdentifierClause(SecurityKeyIdentifierClause) |
Compara a cláusula do identificador de chave de segurança atual a uma cláusula especificada quanto à igualdade.Compares the current security key identifier clause to a specified one for equality. |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ResolveKeyIdentifierClause(SecurityKeyIdentifierClause) |
Obtém a chave para a cláusula de identificador de chave especificado.Gets the key for the specified key identifier clause. (Herdado de SecurityToken) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |