Edit

Share via


RSAEncryptionPadding.Equality Operator

Definition

Indicates whether two specified RSAEncryptionPadding objects are equal.

public:
 static bool operator ==(System::Security::Cryptography::RSAEncryptionPadding ^ left, System::Security::Cryptography::RSAEncryptionPadding ^ right);
public static bool operator == (System.Security.Cryptography.RSAEncryptionPadding? left, System.Security.Cryptography.RSAEncryptionPadding? right);
public static bool operator == (System.Security.Cryptography.RSAEncryptionPadding left, System.Security.Cryptography.RSAEncryptionPadding right);
static member ( = ) : System.Security.Cryptography.RSAEncryptionPadding * System.Security.Cryptography.RSAEncryptionPadding -> bool
Public Shared Operator == (left As RSAEncryptionPadding, right As RSAEncryptionPadding) As Boolean

Parameters

left
RSAEncryptionPadding

The first object to compare.

right
RSAEncryptionPadding

The second object to compare.

Returns

true if left and right are equal; otherwise, false.

Remarks

Two RSAEncryptionPadding objects are equal if their Mode and OaepHashAlgorithm property values are equal.

Applies to