Bewerken

Delen via


KeyInfoX509Data.AddCertificate(X509Certificate) Method

Definition

Adds the specified X.509v3 certificate to the 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)

Parameters

certificate
X509Certificate

The X509Certificate object to add to the KeyInfoX509Data object.

Exceptions

The certificate parameter is null.

Applies to