SymmetricSecurityKey.GetKeyedHashAlgorithm(String) Méthode

Définition

En cas de substitution dans une classe dérivée, obtient une instance de l'algorithme de hachage à clé spécifié.

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

Paramètres

algorithm
String

Algorithme de hachage à clé duquel obtenir une instance.

Retours

KeyedHashAlgorithm qui représente l'algorithme de hachage à clé.

Remarques

Utilisez les champs qui représentent les algorithmes de hachage à clé dans la classe SecurityAlgorithms pour spécifier l'algorithme.

S’applique à