RsaSecurityKey.GetHashAlgorithmForSignature(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 un algorithme de chiffrement qui génère un hachage pour une signature numérique.
public:
override System::Security::Cryptography::HashAlgorithm ^ GetHashAlgorithmForSignature(System::String ^ algorithm);
public override System.Security.Cryptography.HashAlgorithm GetHashAlgorithmForSignature (string algorithm);
override this.GetHashAlgorithmForSignature : string -> System.Security.Cryptography.HashAlgorithm
Public Overrides Function GetHashAlgorithmForSignature (algorithm As String) As HashAlgorithm
Paramètres
- algorithm
- String
Algorithme de hachage. L'algorithme pris en charge est RsaSha1Signature.
Retours
HashAlgorithm qui génère des hachages pour les signatures numériques.
Exceptions
algorithm
n’est pas pris en charge. L'algorithme pris en charge est RsaSha1Signature.
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