Język

RsaSecurityKey.GetHashAlgorithmForSignature(String) Metoda

Definicja

Pobiera algorytm kryptograficzny, który generuje skrót dla podpisu cyfrowego.

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

Parametry

algorithm
String

Algorytm skrótu. Obsługiwany algorytm to RsaSha1Signature.

Zwraca

Element HashAlgorithm , który generuje skróty dla podpisów cyfrowych.

Wyjątki

algorithm nie jest obsługiwana. Obsługiwany algorytm to RsaSha1Signature.

Dotyczy