RSASignaturePadding.Equals Method

Definition

Compares two RSASignaturePadding objects for equality.

Overloads

Equals(Object)

Returns a value that indicates whether this instance is equal to a specified object.

Equals(RSASignaturePadding)

Returns a value that indicates whether this instance is equal to a specified RSASignaturePadding object.

Equals(Object)

Returns a value that indicates whether this instance is equal to a specified object.

public:
 override bool Equals(System::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 with the current instance.

Returns

true if the specified object is equal to the current object; otherwise, false.

Remarks

The current instance and obj are equal if obj is a RSASignaturePadding instance and the Mode property of the two objects is equal.

Equals(RSASignaturePadding)

Returns a value that indicates whether this instance is equal to a specified RSASignaturePadding object.

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

Parameters

other
RSASignaturePadding

The object to compare with the current instance.

Returns

true if the specified object is equal to the current object; otherwise, false.

Implements

Remarks

The current instance and other are equal if the Mode property of the two objects is equal.

Applies to