Partager via


SignedCms.RemoveCertificate(X509Certificate2) Méthode

Définition

Supprime le certificat spécifié de la collection de certificats utilisés avec le message CMS/PKCS #7 codé.

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

Paramètres

certificate
X509Certificate2

Certificat à supprimer de la collection.

Exceptions

Le certificat est introuvable.

S’applique à