Click or drag to resize
MimeKit

RsaEncryptionPaddingCreateOaep Method

Create a new RsaEncryptionPadding using Oaep and the specified hash algorithm.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public static RsaEncryptionPadding CreateOaep(
	DigestAlgorithm hashAlgorithm
)

Parameters

hashAlgorithm  DigestAlgorithm
The hash algorithm.

Return Value

RsaEncryptionPadding
An RsaEncryptionPadding using Oaep and the specified hash algorithm.
Exceptions
ExceptionCondition
NotSupportedException The hashAlgorithm is not supported.
Remarks
Creates a new RsaEncryptionPadding using Oaep and the specified hash algorithm.
See Also