Click or drag to resize

OcspResponderAddRevocationConfiguration Method (String, X509Certificate2)

Adds new revocation configuration to Online Responder.

Namespace:  SysadminsLV.PKI.Management.CertificateServices
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public OcspResponderRevocationConfiguration AddRevocationConfiguration(
	string name,
	X509Certificate2 caCertificate
)

Parameters

name
Type: SystemString
Revocation configuration name.
caCertificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
CA certificate, the configuration is created for.

Return Value

Type: OcspResponderRevocationConfiguration
A blank instance of revocation configuration.
Exceptions
ExceptionCondition
ArgumentNullExceptionname or caCertificate parameter is null.
InvalidOperationException Configuration already exist.
ServerUnavailableException Online Responder is unavailable.
See Also