Uređivanje

Dijeli putem


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 ^>
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public sealed class RSAEncryptionPadding : IEquatable<System.Security.Cryptography.RSAEncryptionPadding>
public sealed class RSAEncryptionPadding : IEquatable<System.Security.Cryptography.RSAEncryptionPadding>
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type RSAEncryptionPadding = class
    interface IEquatable<RSAEncryptionPadding>
type RSAEncryptionPadding = class
    interface IEquatable<RSAEncryptionPadding>
Public NotInheritable Class RSAEncryptionPadding
Implements IEquatable(Of RSAEncryptionPadding)
Inheritance
RSAEncryptionPadding
Attributes
Implements

Properties

Mode

Gets the padding mode represented by this RSAEncryptionPadding instance.

OaepHashAlgorithm

Gets the hash algorithm used in conjunction with the Oaep padding mode.

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.

OaepSHA3_256

Oaep mode with SHA3-256 hash algorithm.

OaepSHA3_384

Oaep mode with SHA3-384 hash algorithm.

OaepSHA3_512

Oaep mode with SHA3-512 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.

Methods

CreateOaep(HashAlgorithmName)

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

Equals(Object)

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

Equals(RSAEncryptionPadding)

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

GetHashCode()

Returns the hash code of this RSAEncryptionPadding object.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the string representation of the current RSAEncryptionPadding instance.

Operators

Equality(RSAEncryptionPadding, RSAEncryptionPadding)

Indicates whether two specified RSAEncryptionPadding objects are equal.

Inequality(RSAEncryptionPadding, RSAEncryptionPadding)

Indicates whether two specified RSAEncryptionPadding objects are unequal.

Applies to