Click or drag to resize

DsCDPContainerAddCrl Method

Adds new certificate revocation list to Active Directory.

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


Type: System.Security.Cryptography.X509CertificatesX509CRL2
Specifies a CRL to publish in Active Directory.
hostName (Optional)
Type: SystemString
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

Type: Boolean
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