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.RSAEncryptionPaddingPublic Shared Function CreateOaep (hashAlgorithm As HashAlgorithmName) As RSAEncryptionPaddingParameters
- hashAlgorithm
- HashAlgorithmName
The hash algorithm.
Returns
An object whose mode is Mode is Oaep with the hash algorithm specified by hashAlgorithm.