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: 3.7.0.0 (3.7.0.0)
Syntax
public bool SetInfo(
	bool restart
)

Parameters

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.
Exceptions
ExceptionCondition
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.
Remarks
The caller must have Administrator permissions on the target CA server.
See Also