Edit

Share via


HashAlgorithmName.FromOid(String) Method

Definition

Converts the specified OID to a hash algorithm name.

public static System.Security.Cryptography.HashAlgorithmName FromOid(string oidValue);

Parameters

oidValue
String

The OID of the hash algorithm.

Returns

The hash algorithm name identified by the OID.

Exceptions

oidValue is null.

oidValue does not represent a known hash algorithm.

Applies to

Product Versions
.NET 5, 6, 7, 8, 9, 10