Partager via


KeyInfoX509Data.AddCertificate(X509Certificate) Méthode

Définition

Ajoute le certificat X.509v3 spécifié à 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)

Paramètres

certificate
X509Certificate

L'objet X509Certificate à ajouter à l'objet KeyInfoX509Data.

Exceptions

Le paramètre certificate a la valeur null.

S’applique à