CertificateAuthorityGetCAExchangeCertificate Method

Retrieves the most recent 'CA Exchange' certificate. If the certificate does not exist, the method will instruct CA server to generate or enroll a new one.

Definition

Namespace: PKI.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public X509Certificate2 GetCAExchangeCertificate()

Return Value

X509Certificate2
CA Exchange certificate.

Exceptions

UninitializedObjectExceptionThe object is not properly initialized.
ServerUnavailableExceptionCA server is not accessible via RPC/DCOM.
UnauthorizedAccessExceptionThe caller do not have at least Read permissions.

See Also