Udostępnij przez


InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Metoda

Definicja

Pobiera wystąpienie określonego algorytmu skrótu klucza.

public:
 override System::Security::Cryptography::KeyedHashAlgorithm ^ GetKeyedHashAlgorithm(System::String ^ algorithm);
public override System.Security.Cryptography.KeyedHashAlgorithm GetKeyedHashAlgorithm (string algorithm);
override this.GetKeyedHashAlgorithm : string -> System.Security.Cryptography.KeyedHashAlgorithm
Public Overrides Function GetKeyedHashAlgorithm (algorithm As String) As KeyedHashAlgorithm

Parametry

algorithm
String

Klucz algorytmu skrótu w celu pobrania wystąpienia.

Zwraca

Element KeyedHashAlgorithm reprezentujący algorytm skrótu kluczy.

Wyjątki

algorithm program nie jest obsługiwany. Obsługiwane algorytmy to HmacSha1Signature.

Dotyczy