InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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.