KeyInfoX509Data.AddCertificate(X509Certificate) 方法

定义

将指定的 X.509v3 证书添加到 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)

参数

certificate
X509Certificate

要添加到 X509Certificate 对象中的 KeyInfoX509Data 对象。

例外

certificate 参数为 null

适用于