OcspResponderAddRevocationConfiguration(String, X509Certificate2) Method

Adds new revocation configuration to Online Responder.

Definition

Namespace: SysadminsLV.PKI.Management.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public OcspResponderRevocationConfiguration AddRevocationConfiguration(
	string name,
	X509Certificate2 caCertificate
)

Parameters

name  String
Revocation configuration name.
caCertificate  X509Certificate2
CA certificate, the configuration is created for.

Return Value

OcspResponderRevocationConfiguration
A blank instance of revocation configuration.

Exceptions

ArgumentNullExceptionname or caCertificate parameter is null.
InvalidOperationException Configuration already exist.
ServerUnavailableException Online Responder is unavailable.

See Also