RSAEncryptionPadding RSAEncryptionPadding RSAEncryptionPadding RSAEncryptionPadding Class

Definition

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

public ref class RSAEncryptionPadding sealed : IEquatable<System::Security::Cryptography::RSAEncryptionPadding ^>
public sealed class RSAEncryptionPadding : IEquatable<System.Security.Cryptography.RSAEncryptionPadding>
type RSAEncryptionPadding = class
    interface IEquatable<RSAEncryptionPadding>
Public NotInheritable Class RSAEncryptionPadding
Implements IEquatable(Of RSAEncryptionPadding)
Inheritance
RSAEncryptionPaddingRSAEncryptionPaddingRSAEncryptionPaddingRSAEncryptionPadding
Implements

Properties

Mode Mode Mode Mode

Gets the padding mode represented by this RSAEncryptionPadding instance.

OaepHashAlgorithm OaepHashAlgorithm OaepHashAlgorithm OaepHashAlgorithm

Gets the hash algorithm used in conjunction with the Oaep padding mode. If the value of the Mode property is not Oaep, Name is null.

OaepSHA1 OaepSHA1 OaepSHA1 OaepSHA1

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

OaepSHA256 OaepSHA256 OaepSHA256 OaepSHA256

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

OaepSHA384 OaepSHA384 OaepSHA384 OaepSHA384

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

OaepSHA512 OaepSHA512 OaepSHA512 OaepSHA512

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

Pkcs1 Pkcs1 Pkcs1 Pkcs1

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

Methods

CreateOaep(HashAlgorithmName) CreateOaep(HashAlgorithmName) CreateOaep(HashAlgorithmName) CreateOaep(HashAlgorithmName)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

Equals(RSAEncryptionPadding) Equals(RSAEncryptionPadding) Equals(RSAEncryptionPadding) Equals(RSAEncryptionPadding)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code of this RSAEncryptionPadding object.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns the string representation of the current RSAEncryptionPadding instance.

Operators

Equality(RSAEncryptionPadding, RSAEncryptionPadding) Equality(RSAEncryptionPadding, RSAEncryptionPadding) Equality(RSAEncryptionPadding, RSAEncryptionPadding) Equality(RSAEncryptionPadding, RSAEncryptionPadding)

Indicates whether two specified RSAEncryptionPadding objects are equal.

Inequality(RSAEncryptionPadding, RSAEncryptionPadding) Inequality(RSAEncryptionPadding, RSAEncryptionPadding) Inequality(RSAEncryptionPadding, RSAEncryptionPadding) Inequality(RSAEncryptionPadding, RSAEncryptionPadding)

Indicates whether two specified RSAEncryptionPadding objects are unequal.

Applies to