Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RSAEncryptionPadding Class

 

Specifies the padding mode and parameters to use with RSA encryption or decryption operations.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

System.Object
  System.Security.Cryptography.RSAEncryptionPadding

public sealed class RSAEncryptionPadding : IEquatable<RSAEncryptionPadding>

NameDescription
System_CAPS_pubpropertyMode

Gets the padding mode represented by this RSAEncryptionPadding instance.

System_CAPS_pubpropertyOaepHashAlgorithm

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.

System_CAPS_pubpropertySystem_CAPS_staticOaepSHA1

Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA1 hash algorithm.

System_CAPS_pubpropertySystem_CAPS_staticOaepSHA256

Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA256 hash algorithm.

System_CAPS_pubpropertySystem_CAPS_staticOaepSHA384

Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA-384 hash algorithm.

System_CAPS_pubpropertySystem_CAPS_staticOaepSHA512

Gets an object that represents the Optimal Asymmetric Encryption Padding (OAEP) encryption standard with a SHA512 hash algorithm.

System_CAPS_pubpropertySystem_CAPS_staticPkcs1

Gets an object that represents the PKCS #1 encryption standard.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateOaep(HashAlgorithmName)

Creates a new RSAEncryptionPadding instance whose Mode is RSAEncryptionPaddingMode.Oaep with the given hash algorithm.

System_CAPS_pubmethodEquals(Object)

Determines whether the current instance is equal to the specified object. (Overrides Object.Equals(Object).)

System_CAPS_pubmethodEquals(RSAEncryptionPadding)

Determines whether the current instance is equal to the specified RSAEncryptionPadding object.

System_CAPS_pubmethodGetHashCode()

Returns the hash code of this RSAEncryptionPadding object. (Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the string representation of the current RSAEncryptionPadding instance. (Overrides Object.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(RSAEncryptionPadding, RSAEncryptionPadding)

Indicates whether two specified RSAEncryptionPadding objects are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(RSAEncryptionPadding, RSAEncryptionPadding)

Indicates whether two specified RSAEncryptionPadding objects are unequal.

.NET Framework
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.

Return to top
Show:
© 2017 Microsoft