RSAEncryptionPadding.Equals Method

Definition

Compares two RSAEncryptionPadding objects for equality.

Overloads

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.

Equals(Object)

Source:
RSAEncryptionPadding.cs
Source:
RSAEncryptionPadding.cs
Source:
RSAEncryptionPadding.cs

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

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare.

Returns

true if obj is equal to the current instance; otherwise, false.

Remarks

obj is equal to the current instance if it is a RSAEncryptionPadding object and the two objects have identical Mode and OaepHashAlgorithm property values.

Applies to

Equals(RSAEncryptionPadding)

Source:
RSAEncryptionPadding.cs
Source:
RSAEncryptionPadding.cs
Source:
RSAEncryptionPadding.cs

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

public:
 virtual bool Equals(System::Security::Cryptography::RSAEncryptionPadding ^ other);
public bool Equals (System.Security.Cryptography.RSAEncryptionPadding? other);
public bool Equals (System.Security.Cryptography.RSAEncryptionPadding other);
override this.Equals : System.Security.Cryptography.RSAEncryptionPadding -> bool
Public Function Equals (other As RSAEncryptionPadding) As Boolean

Parameters

other
RSAEncryptionPadding

The object to compare.

Returns

true if other is equal to the current instance; otherwise, false.

Implements

Remarks

instance and the current instance are equal if they have identical Mode and OaepHashAlgorithm property values.

Applies to