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 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour