Udostępnij za pośrednictwem


KeyInfoX509Data.AddCertificate(X509Certificate) Metoda

Definicja

Dodaje określony certyfikat X.509v3 do elementu KeyInfoX509Data.

public:
 void AddCertificate(System::Security::Cryptography::X509Certificates::X509Certificate ^ certificate);
public void AddCertificate (System.Security.Cryptography.X509Certificates.X509Certificate certificate);
member this.AddCertificate : System.Security.Cryptography.X509Certificates.X509Certificate -> unit
Public Sub AddCertificate (certificate As X509Certificate)

Parametry

certificate
X509Certificate

X509Certificate Obiekt, który ma zostać dodany do KeyInfoX509Data obiektu.

Wyjątki

Parametr certificate to null.

Dotyczy