ServiceSettingsEnableSecureConnection Method (String, String, ServiceSettingsSecurityProtocols) |
Secures the connection between the server and the clients.
Namespace: OIV.RemoteViz.Rendering
public void EnableSecureConnection( string publicCertificateFilePath, string privateKeyFilePath, ServiceSettingsSecurityProtocols enabledSecurityProtocols )
: 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.
: 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.
: 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.