X509AsymmetricSecurityKey.GetSignatureDeformatter(String) Metoda

Definicja

Pobiera algorytm deformatowania dla podpisu cyfrowego.

public:
 override System::Security::Cryptography::AsymmetricSignatureDeformatter ^ GetSignatureDeformatter(System::String ^ algorithm);
public override System.Security.Cryptography.AsymmetricSignatureDeformatter GetSignatureDeformatter (string algorithm);
override this.GetSignatureDeformatter : string -> System.Security.Cryptography.AsymmetricSignatureDeformatter
Public Overrides Function GetSignatureDeformatter (algorithm As String) As AsymmetricSignatureDeformatter

Parametry

algorithm
String

Algorytm deformatowania podpisu cyfrowego w celu pobrania wystąpienia.

Zwraca

Element AsymmetricSignatureDeformatter reprezentujący algorytm deformatowania dla podpisu cyfrowego.

Wyjątki

algorithm to XmlDsigDSAUrl i klucz publiczny certyfikatu X.509 określonego w konstruktorze nie jest typu DSA.

-lub-

algorithm to XmlDsigRSASHA1Url lub RsaSha256Signature i klucz publiczny certyfikatu X.509 określonego w konstruktorze nie jest typu RSA.

-lub-

algorithm program nie jest obsługiwany. Obsługiwane algorytmy to XmlDsigDSAUrl,

XmlDsigRSASHA1Url, i RsaSha256Signature.

Uwagi

XmlDsigDSAUrlUżyj pól , XmlDsigRSASHA1Url lubRsaSha256Signature, aby określić algorithm parametr .

Dotyczy