InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Metod

Definition

Hämtar en instans av den angivna nyckelade hash-algoritmen.

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

Parametrar

algorithm
String

Den nyckelade hash-algoritmen för att hämta en instans av.

Returer

En KeyedHashAlgorithm som representerar den nyckelade hash-algoritmen.

Undantag

algorithm stöds inte. De algoritmer som stöds är HmacSha1Signature.

Gäller för