Bewerken

Delen via


HashAlgorithmName.FromOid(String) Method

Definition

Converts the specified OID to a hash algorithm name.

public:
 static System::Security::Cryptography::HashAlgorithmName FromOid(System::String ^ oidValue);
public static System.Security.Cryptography.HashAlgorithmName FromOid (string oidValue);
static member FromOid : string -> System.Security.Cryptography.HashAlgorithmName
Public Shared Function FromOid (oidValue As String) As HashAlgorithmName

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