DsCDPContainerAddCrl Method

Adds new certificate revocation list to Active Directory.

Definition

Namespace: SysadminsLV.PKI.Management.ActiveDirectory
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public bool AddCrl(
	X509CRL2 crl,
	string hostName = null
)

Parameters

crl  X509CRL2
Specifies a CRL to publish in Active Directory.
hostName  String  (Optional)
Specifies host name of CA server that issued the CRL. This parameter is optional and can be omitted if CRL includes Published CRL Locations CRL extension. If specified, this parameter takes precedence over Published CRL Locations extension value.

Return Value

Boolean
This method always returns True.

Exceptions

ArgumentNullExceptioncrl parameter is null.
ArgumentException There is no enough information to determine exact CRL publication location in Active Directory.

See Also