RSAEncryptionPadding.CreateOaep(HashAlgorithmName) Méthode

Définition

Crée une RSAEncryptionPadding instance dont Mode l’algorithme de hachage donné est Oaep utilisé.

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

Paramètres

hashAlgorithm
HashAlgorithmName

Algorithme de hachage.

Retours

Objet dont le mode est ModeOaep avec l’algorithme de hachage spécifié par hashAlgorithm.

Exceptions

La Name propriété de l’une ou l’autre hashAlgorithmnullEmptyest .

S’applique à