RSAEncryptionPadding.CreateOaep(HashAlgorithmName) Metod

Definition

Skapar en ny RSAEncryptionPadding instans vars Mode är Oaep med den angivna hash-algoritmen.

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

Parametrar

hashAlgorithm
HashAlgorithmName

Hash-algoritmen.

Returer

Ett objekt vars läge är ModeOaep med hash-algoritmen som anges av hashAlgorithm.

Undantag

Egenskapen NamehashAlgorithm för är antingen null eller Empty.

Gäller för