RsaSecurityKey Classe
Definição
Representa uma chave de segurança que é gerada usando o algoritmo RSA.Represents a security key that is generated using the RSA algorithm. Essa classe não pode ser herdada.This class cannot be inherited.
public ref class RsaSecurityKey sealed : System::IdentityModel::Tokens::AsymmetricSecurityKey
public sealed class RsaSecurityKey : System.IdentityModel.Tokens.AsymmetricSecurityKey
type RsaSecurityKey = class
inherit AsymmetricSecurityKey
Public NotInheritable Class RsaSecurityKey
Inherits AsymmetricSecurityKey
- Herança
Construtores
| RsaSecurityKey(RSA) |
Inicializa uma nova instância da classe RsaSecurityKey usando o algoritmo RSA especificado.Initializes a new instance of the RsaSecurityKey class using the specified RSA algorithm. |
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 usando o algoritmo especificado.Encrypts the specified key using the specified algorithm. |
| 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) |
| GetAsymmetricAlgorithm(String, Boolean) |
Obtém o algoritmo de criptografia assimétrico especificado.Gets the specified asymmetric cryptographic algorithm. |
| GetHashAlgorithmForSignature(String) |
Obtém um algoritmo de criptografia que gera um hash para uma assinatura digital.Gets a cryptographic algorithm that generates a hash for a digital signature. |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetSignatureDeformatter(String) |
Obtém o algoritmo desformatador para a assinatura digital.Gets the de-formatter algorithm for the digital signature. |
| GetSignatureFormatter(String) |
Obtém o algoritmo formatador para a assinatura digital.Gets the formatter algorithm for the digital signature. |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| HasPrivateKey() |
Obtém um valor que indica se a chave privada está disponível.Gets a value that indicates whether the private key is available. |
| 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) |