InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Methode

Definitie

Hiermee haalt u een exemplaar op van het opgegeven sleutel-hash-algoritme.

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

Parameters

algorithm
String

Het sleutel-hash-algoritme voor het ophalen van een exemplaar van.

Retouren

Een KeyedHashAlgorithm die het sleutel-hash-algoritme vertegenwoordigt.

Uitzonderingen

algorithm wordt niet ondersteund. De ondersteunde algoritmen zijn HmacSha1Signature.

Van toepassing op