Click or drag to resize

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.

Namespace:  PKI.CertificateServices
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public X509Certificate2 GetCAExchangeCertificate()

Return Value

Type: X509Certificate2
CA Exchange certificate.
Exceptions
ExceptionCondition
UninitializedObjectExceptionThe object is not properly initialized.
ServerUnavailableExceptionCA server is not accessible via RPC/DCOM.
UnauthorizedAccessExceptionThe caller do not have at least Read permissions.
PlatformNotSupportedExceptionCurrent CA is not Enterprise CA. Only Enterprise CAs supports this feature.
See Also