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: 3.7.0.0 (3.7.0.0)
Syntax
public bool AddCrl(
	X509CRL2 crl,
	string hostName = null
)

Parameters

crl
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.
Exceptions
ExceptionCondition
ArgumentNullExceptioncrl parameter is null.
ArgumentException There is no enough information to determine exact CRL publication location in Active Directory.
See Also