7 private readonly
string _name;
28 return _name ??
string.Empty;
31 public override bool Equals([NotNullWhen(
true)]
object?
obj)
49 return _name.GetHashCode();
61 return !(left == right);
72 case "1.2.840.113549.2.5":
78 case "2.16.840.1.101.3.4.2.1":
81 case "2.16.840.1.101.3.4.2.2":
84 case "2.16.840.1.101.3.4.2.3":
static string Format(string resourceFormat, object p1)
static string Cryptography_InvalidHashAlgorithmOid
override bool Equals([NotNullWhen(true)] object? obj)
override string ToString()
static HashAlgorithmName SHA1
static HashAlgorithmName SHA512
HashAlgorithmName(string? name)
static bool operator==(HashAlgorithmName left, HashAlgorithmName right)
override int GetHashCode()
static HashAlgorithmName SHA256
static bool TryFromOid(string oidValue, out HashAlgorithmName value)
static HashAlgorithmName SHA384
bool Equals(HashAlgorithmName other)
static HashAlgorithmName MD5
static HashAlgorithmName FromOid(string oidValue)
static bool operator!=(HashAlgorithmName left, HashAlgorithmName right)