KeyInfoX509Data.AddCertificate(X509Certificate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.