SymmetricSecurityKey.GetKeyedHashAlgorithm(String) Metod

Definition

När den åsidosättas i en härledd klass hämtar en instans av den angivna nyckelade hash-algoritmen.

public:
 abstract System::Security::Cryptography::KeyedHashAlgorithm ^ GetKeyedHashAlgorithm(System::String ^ algorithm);
public abstract System.Security.Cryptography.KeyedHashAlgorithm GetKeyedHashAlgorithm(string algorithm);
abstract member GetKeyedHashAlgorithm : string -> System.Security.Cryptography.KeyedHashAlgorithm
Public MustOverride 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.

Kommentarer

Använd fälten som representerar nyckelade hash-algoritmer i SecurityAlgorithms klassen för att ange algoritmen.

Gäller för