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
)
Public Function AddRevocationConfiguration (
name As String,
caCertificate As X509Certificate2
) As OcspResponderRevocationConfiguration
public:
OcspResponderRevocationConfiguration^ AddRevocationConfiguration(
String^ name,
X509Certificate2^ caCertificate
)
member AddRevocationConfiguration :
name : string *
caCertificate : X509Certificate2 -> OcspResponderRevocationConfiguration
Parameters
- name
- Type: SystemString
Revocation configuration name. - caCertificate
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2
CA certificate, the configuration is created for.
Return Value
Type:
OcspResponderRevocationConfigurationA blank instance of revocation configuration.
Exceptions Exception | Condition |
---|
ArgumentNullException | name or caCertificate parameter is null.
|
InvalidOperationException |
Configuration already exist.
|
ServerUnavailableException |
Online Responder is unavailable.
|
See Also