SoRemoteVizClientEnableSecureConnection Method (String, String, SoRemoteVizClientSecurityProtocols, String) |
Secures the connection between the client and the server.
Namespace: OIV.RemoteViz.Clients.Nodes
public void EnableSecureConnection( string publicCertificateFilePath, string privateKeyFilePath, SoRemoteVizClientSecurityProtocols enabledSecurityProtocols, string privateKeyPassphrase )
: 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.
: Defines the security protocols used to secure the exchange between the client and the server. By default, TLSv1.1, TLSv1.2 and TLSv1.3 protocols are enabled. A bitmask of the security protocols is used. Many security protocols can be enabled by using the logical OR operator.
: The passphrase that protect the private key. Security warning !! DO NOT hard-code the passphrase !! Read it from a SECURE location on your system.