DsCDPContainerAddCrl Method

Adds new certificate revocation list to Active Directory.


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


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

This method always returns True.


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

See Also