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.

C#
public override bool Equals(object? obj);
C#
public override bool Equals(object obj);

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

.NET 10 ja muud versioonid
Toode Versioonid
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.3, 1.4, 1.6, 2.0, 2.1

Equals(RSAEncryptionPadding)

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

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

C#
public bool Equals(System.Security.Cryptography.RSAEncryptionPadding? other);
C#
public bool Equals(System.Security.Cryptography.RSAEncryptionPadding other);

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

.NET 10 ja muud versioonid
Toode Versioonid
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.3, 1.4, 1.6, 2.0, 2.1