SymmetricSecurityKey.GetKeyedHashAlgorithm(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour