RSAEncryptionPadding Class
Specifies the padding mode and parameters to use with RSA encryption or decryption operations.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Mode | Gets the padding mode represented by this RSAEncryptionPadding instance. |
![]() | OaepHashAlgorithm | Gets the hash algorithm used in conjunction with the RSAEncryptionPaddingMode.Oaep padding mode. If the value of the Mode property is not RSAEncryptionPaddingMode.Oaep, HashAlgorithmName.Name is null. |
![]() ![]() | OaepSHA1 | Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA1 hash algorithm. |
![]() ![]() | OaepSHA256 | Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA256 hash algorithm. |
![]() ![]() | OaepSHA384 | Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA-384 hash algorithm. |
![]() ![]() | OaepSHA512 | Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA512 hash algorithm. |
![]() ![]() | Pkcs1 | Gets an object that represents the PKCS #1 encryption standard. |
| Name | Description | |
|---|---|---|
![]() ![]() | CreateOaep(HashAlgorithmName) | Creates a new RSAEncryptionPadding instance whose Mode is RSAEncryptionPaddingMode.Oaep with the given hash algorithm. |
![]() | Equals(Object) | Determines whether the current instance is equal to the specified object. (Overrides Object.Equals(Object).) |
![]() | Equals(RSAEncryptionPadding) | Determines whether the current instance is equal to the specified RSAEncryptionPadding object. |
![]() | GetHashCode() | Returns the hash code of this RSAEncryptionPadding object. (Overrides Object.GetHashCode().) |
![]() | GetType() | |
![]() | ToString() | Returns the string representation of the current RSAEncryptionPadding instance. (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(RSAEncryptionPadding, RSAEncryptionPadding) | Indicates whether two specified RSAEncryptionPadding objects are equal. |
![]() ![]() | Inequality(RSAEncryptionPadding, RSAEncryptionPadding) | Indicates whether two specified RSAEncryptionPadding objects are unequal. |
Available since 4.6
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



