RSAEncryptionPadding.CreateOaep(HashAlgorithmName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- hashAlgorithm
- HashAlgorithmName
The hash algorithm.
Returns
An object whose mode is Mode is Oaep with the hash algorithm specified by hashAlgorithm
.
Exceptions
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.