RSAEncryptionPadding.CreateOaep(HashAlgorithmName) Método
Definição
Cria uma nova instância RSAEncryptionPadding cujo Mode é Oaep com o algoritmo de hash fornecido.Creates a new RSAEncryptionPadding instance whose Mode is Oaep with the given hash algorithm.
public:
static System::Security::Cryptography::RSAEncryptionPadding ^ CreateOaep(System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public static System.Security.Cryptography.RSAEncryptionPadding CreateOaep (System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
static member CreateOaep : System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.RSAEncryptionPadding
Public Shared Function CreateOaep (hashAlgorithm As HashAlgorithmName) As RSAEncryptionPadding
Parâmetros
- hashAlgorithm
- HashAlgorithmName
O algoritmo hash.The hash algorithm.
Retornos
Um objeto cujo modo é Mode é Oaep com o algoritmo de hash especificado pelo hashAlgorithm.An object whose mode is Mode is Oaep with the hash algorithm specified by hashAlgorithm.
Exceções
A propriedade Name de hashAlgorithm é null ou Empty.The Name property of hashAlgorithm is either null or Empty.