RsaSecurityKey.GetHashAlgorithmForSignature(String) Metod

Definition

Hämtar en kryptografisk algoritm som genererar en hash för en digital signatur.

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

Parametrar

algorithm
String

Hash-algoritmen. Algoritmen som stöds är RsaSha1Signature.

Returer

En HashAlgorithm som genererar hashvärden för digitala signaturer.

Undantag

algorithm stöds inte. Algoritmen som stöds är RsaSha1Signature.

Gäller för