Click or drag to resize
ServiceSettingsEnableSecureConnection Method (String, String, ServiceSettingsSecurityProtocols)

Secures the connection between the server and the clients.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public void EnableSecureConnection(
	string publicCertificateFilePath,
	string privateKeyFilePath,
	ServiceSettingsSecurityProtocols enabledSecurityProtocols
)

Parameters

publicCertificateFilePath
Type: SystemString

: Path to a file containing the public certificate used to authenticate the server to the clients. The certificate has to be a PEM ("Privacy Enhanced Mail") encoded certificate.

privateKeyFilePath
Type: SystemString

: Path to a file containing the private key used to sign the server key exchange between the client and the server. If the private key is protected by a passphrase, set the passphrase into the ServiceListener.onRequestedPrivateKeyPassphrase callback.

enabledSecurityProtocols
Type: OIV.RemoteViz.RenderingServiceSettingsSecurityProtocols

: Defines the security protocols used to secure the exchange between the client and the server. By default, the TLSv1, TLSv1.1 and TLSv1.2 protocols are enabled. A bitmask of the security protocols is used. Many security protocols can be enabled by using the logical OR operator.

Remarks

See Also