Sdílet prostřednictvím


KeyInfoX509Data.AddCertificate(X509Certificate) Metoda

Definice

Přidá zadaný certifikát X.509v3 do .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

Objekt X509Certificate , který chcete přidat do objektu KeyInfoX509Data .

Výjimky

Parametr certificate je null.

Platí pro