InMemorySymmetricSecurityKey.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.
Obtient une nouvelle instance de l'algorithme de hachage à clé spécifié.
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
Paramètres
- algorithm
- String
Algorithme de hachage à clé duquel obtenir une instance.
Retours
KeyedHashAlgorithm qui représente l'algorithme de hachage à clé.
Exceptions
algorithm n’est pas pris en charge. L'algorithme pris en charge est HmacSha1Signature.