Click or drag to resize

CertValiditySettingSetInfo Method

Updates issued certificate validity setting. Any issued certificate validity cannot exceed this value.

Namespace:  PKI.CertificateServices
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: (
public bool SetInfo(
	bool restart


Type: SystemBoolean
Indiciates whether to restart certificate services to immediately apply changes. Updated settings has no effect until CA service is restarted.

Return Value

Type: 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.
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 remote registry and RPC protocol.
The caller must have Administrator permissions on the target CA server.
See Also