HashAlgorithmName.TryFromOid(String, HashAlgorithmName) Metoda

Definice

Pokusí se převést zadaný identifikátor OID na název algoritmu hash.

public:
 static bool TryFromOid(System::String ^ oidValue, [Runtime::InteropServices::Out] System::Security::Cryptography::HashAlgorithmName % value);
public static bool TryFromOid (string oidValue, out System.Security.Cryptography.HashAlgorithmName value);
static member TryFromOid : string * HashAlgorithmName -> bool
Public Shared Function TryFromOid (oidValue As String, ByRef value As HashAlgorithmName) As Boolean

Parametry

oidValue
String

Identifikátor algoritmu hash.

value
HashAlgorithmName

Když tato metoda vrátí truehodnotu hash algoritmu. Když tato metoda vrátí false, obsahuje výchozí hodnotu.

Návraty

Boolean

true pokud byl identifikátor OID úspěšně namapován na algoritmus hash; jinak false.

Výjimky

oidValue je null.

Platí pro