CATemplateAddRange Method

Adds certificate templates to issue by a specified Certification Authority server. The method do not writes newly assigned templates to Certification Authority.

Definition

Namespace: PKI.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public void AddRange(
	CertificateTemplate[] templates
)

Parameters

templates  CertificateTemplate
One or more CertificateTemplate objects to add.

Remarks

If Templates property already contains certificate template object, the template is silently skipped.

Exceptions

ArgumentNullExceptionThe templates parameter is a null reference.
NotSupportedExceptionOne or more certificate templates are not supported by this CA version.

See Also