InMemorySymmetricSecurityKey Classe

Definição

Representa as chaves que são geradas usando algoritmos simétricos e só são armazenadas na memória de acesso aleatório do computador local.Represents keys that are generated using symmetric algorithms and are only stored in the local computer's random access memory.

public ref class InMemorySymmetricSecurityKey : System::IdentityModel::Tokens::SymmetricSecurityKey
public class InMemorySymmetricSecurityKey : System.IdentityModel.Tokens.SymmetricSecurityKey
type InMemorySymmetricSecurityKey = class
    inherit SymmetricSecurityKey
Public Class InMemorySymmetricSecurityKey
Inherits SymmetricSecurityKey
Herança
InMemorySymmetricSecurityKey

Comentários

Normalmente, essa classe é usada apenas pela infraestrutura para transformar o XML usando uma chave simétrica.Typically, this class is only used by the infrastructure to transform XML using a symmetric key.

Construtores

InMemorySymmetricSecurityKey(Byte[])

Inicializa uma nova instância da classe InMemorySymmetricSecurityKey usando a chave simétrica especificada.Initializes a new instance of the InMemorySymmetricSecurityKey class using the specified symmetric key.

InMemorySymmetricSecurityKey(Byte[], Boolean)

Inicializa uma nova instância da classe InMemorySymmetricSecurityKey usando a chave simétrica especificada e um valor que indica se os dados binários devem ser clonados.Initializes a new instance of the InMemorySymmetricSecurityKey class using the specified symmetric key and a value that indicates whether the binary data must be cloned.

Propriedades

KeySize

Obtém o tamanho, em bits, da chave.Gets the size, in bits, of the key.

Métodos

DecryptKey(String, Byte[])

Descriptografa a chave criptografada especificada.Decrypts the specified encrypted key.

EncryptKey(String, Byte[])

Criptografa a chave especificada.Encrypts the specified key.

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)
GenerateDerivedKey(String, Byte[], Byte[], Int32, Int32)

Gera uma chave derivada usando o algoritmo de criptografia especificado e os parâmetros para a chave atual.Generates a derived key using the specified cryptographic algorithm and parameters for the current key.

GetDecryptionTransform(String, Byte[])

Obtém uma transformação que descriptografa texto criptografado usando o algoritmo de criptografia especificado.Gets a transform that decrypts cipher text using the specified cryptographic algorithm.

GetEncryptionTransform(String, Byte[])

Obtém uma transformação que criptografa XML usando o algoritmo de criptografia especificado.Gets a transform that encrypts XML using the specified cryptographic algorithm.

GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetIVSize(String)

Obtém o tamanho, em bits, do vetor de inicialização (IV) que é necessário para o algoritmo de criptografia especificado.Gets the size, in bits, of the initialization vector (IV) that is required for the specified cryptographic algorithm.

GetKeyedHashAlgorithm(String)

Obtém uma instância do algoritmo de hash com chave especificado.Gets an instance of the specified keyed hash algorithm.

GetSymmetricAlgorithm(String)

Obtém uma instância do algoritmo simétrico especificado.Gets an instance of the specified symmetric algorithm.

GetSymmetricKey()

Obtém os bytes que representam a chave simétrica.Gets the bytes that represent the symmetric key.

GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
IsAsymmetricAlgorithm(String)

Obtém um valor que indica se o algoritmo especificado usa chaves assimétricas.Gets a value that indicates whether the specified algorithm uses asymmetric keys.

IsSupportedAlgorithm(String)

Obtém um valor que indica se o algoritmo especificado é compatível com essa classe.Gets a value that indicates whether the specified algorithm is supported by this class.

IsSymmetricAlgorithm(String)

Obtém um valor que indica se o algoritmo especificado usa chaves simétricas.Gets a value that indicates whether the specified algorithm uses symmetric keys.

MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a