CATemplateSetInfo Method

Updates certificate template list issued by a Certification Authority. The method writes all certificates templates contained in Templates property.

Definition

Namespace: PKI.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public bool SetInfo()

Return Value

Boolean
True if configuration was changed. If an object was not modified since it was instantiated, configuration is not updated and the method returns False.

Remarks

For this method to succeed, the caller must be granted CA Administrator permissions.

Exceptions

UnauthorizedAccessException The caller do not have sufficient permissions to make changes in the CA configuration.
ServerUnavailableException The target CA server could not be contacted via RPC/DCOM transport.
NotSupportedExceptionOne or more certificate templates are not supported by this CA version.

See Also