SignedCms.RemoveCertificate(X509Certificate2) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從編碼 CMS/PKCS #7 訊息的憑證集合中移除指定的憑證。
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)
參數
- certificate
- X509Certificate2
要從集合中移除的憑證。
例外狀況
找不到憑證。