HashAlgorithmName.FromOid(String) 方法

定義

將指定的 OID 轉換成雜湊演算法名稱。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

參數

oidValue
String

雜湊演算法的 OID。The OID of the hash algorithm.

傳回

HashAlgorithmName

OID 識別的雜湊演算法名稱。The hash algorithm name identified by the OID.

例外狀況

oidValuenulloidValue is null.

oidValue 不代表已知的雜湊演算法。oidValue does not represent a known hash algorithm.

適用於