RSAEncryptionPadding.CreateOaep(HashAlgorithmName) Methode

Definitie

Hiermee maakt u een nieuw RSAEncryptionPadding exemplaar waarvan Mode het opgegeven hash-algoritme is Oaep .

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

Parameters

hashAlgorithm
HashAlgorithmName

Het hash-algoritme.

Retouren

Een object waarvan de modus is ModeOaep met het hash-algoritme dat is opgegeven door hashAlgorithm.

Uitzonderingen

De Name eigenschap van hashAlgorithm is of nullEmpty.

Van toepassing op