6[UnsupportedOSPlatform(
"browser")]
45 if (
string.IsNullOrEmpty(hashAlgorithm.
Name))
59 return ((h1 << 5) + h1) ^ h2;
62 public override bool Equals([NotNullWhen(
true)]
object?
obj)
78 return left?.
Equals(right) ?? ((object)right ==
null);
83 return !(left == right);
static string Cryptography_HashAlgorithmNameNullOrEmpty
readonly RSAEncryptionPaddingMode _mode
override int GetHashCode()
static readonly RSAEncryptionPadding s_oaepSHA1
static RSAEncryptionPadding OaepSHA1
override string ToString()
static bool operator==(RSAEncryptionPadding? left, RSAEncryptionPadding? right)
static bool operator!=(RSAEncryptionPadding? left, RSAEncryptionPadding? right)
static RSAEncryptionPadding OaepSHA384
bool Equals([NotNullWhen(true)] RSAEncryptionPadding? other)
static RSAEncryptionPadding Pkcs1
static readonly RSAEncryptionPadding s_oaepSHA256
readonly HashAlgorithmName _oaepHashAlgorithm
static int CombineHashCodes(int h1, int h2)
static RSAEncryptionPadding CreateOaep(HashAlgorithmName hashAlgorithm)
override bool Equals([NotNullWhen(true)] object? obj)
RSAEncryptionPadding(RSAEncryptionPaddingMode mode, HashAlgorithmName oaepHashAlgorithm)
static readonly RSAEncryptionPadding s_oaepSHA384
static RSAEncryptionPadding OaepSHA256
static readonly RSAEncryptionPadding s_pkcs1
static RSAEncryptionPadding OaepSHA512
HashAlgorithmName OaepHashAlgorithm
static readonly RSAEncryptionPadding s_oaepSHA512
static HashAlgorithmName SHA1
static HashAlgorithmName SHA512
override int GetHashCode()
static HashAlgorithmName SHA256
static HashAlgorithmName SHA384