RsaSecurityKey.GetHashAlgorithmForSignature(String) Méthode

Définition

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 à