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

Qui HashAlgorithm génère des hachages pour les signatures numériques.

Exceptions

La fonction algorithm n'est pas prise en charge. L’algorithme pris en charge est RsaSha1Signature.

S’applique à