Click or drag to resize

KRASetInfo Method

Updates KRA configuration by writing KRA certificates to Certification Authority. The method writes all certificates contained in Certificate property.

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 RPC/DCOM transport.
Remarks

This method do not check whether the certificates in Certificate property are valid. The caller is responsible to check if the certificates are time-valid, trusted and not revoked.

Remarks
The caller must have Administrator permissions on the target CA server.
See Also