Share via


RSAEncryptionPadding.CreateOaep(HashAlgorithmName) Método

Definición

Crea una instancia de RSAEncryptionPadding cuyo Mode es Oaep con el algoritmo hash especificado.

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

Algoritmo hash.

Devoluciones

Objeto cuyo modo Mode es Oaep con el algoritmo hash especificado por hashAlgorithm.

Excepciones

La propiedad Name de hashAlgorithm es null o Empty.

Se aplica a