Sdílet prostřednictvím


InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Metoda

Definice

Získá instanci zadaného klíče hash algoritmu.

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

Klíčovaný hashovací algoritmus, který má získat instanci.

Návraty

A KeyedHashAlgorithm , který představuje klíčový hashovací algoritmus.

Výjimky

algorithm se nepodporuje. Podporované algoritmy jsou HmacSha1Signature.

Platí pro