CertDbAdminDImportCertificate Method |
Imports certificate to Certification Authority database.
Namespace:
SysadminsLV.PKI.Dcom.Implementations
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public int ImportCertificate(
X509Certificate2 certificate
)
Public Function ImportCertificate (
certificate As X509Certificate2
) As Integer
public:
virtual int ImportCertificate(
X509Certificate2^ certificate
) sealed
abstract ImportCertificate :
certificate : X509Certificate2 -> int
override ImportCertificate :
certificate : X509Certificate2 -> int
Parameters
- certificate
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2
A certificate to import.
Return Value
Type:
Int32RequestID from request table.
Implements
ICertDbAdminDImportCertificate(X509Certificate2)Exceptions Exception | Condition |
---|
ArgumentNullException | certificate parameter is null. |
See Also