Click or drag to resize
SoRemoteVizClientEnableSecureConnection Method (String, String, SoRemoteVizClientSecurityProtocols, String)

Secures the connection between the client and the server.

Namespace: OIV.RemoteViz.Clients.Nodes
Assembly: OIV.RemoteViz.Client (in OIV.RemoteViz.Client.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void EnableSecureConnection(
	string publicCertificateFilePath,
	string privateKeyFilePath,
	SoRemoteVizClientSecurityProtocols enabledSecurityProtocols,
	string privateKeyPassphrase
)

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.

enabledSecurityProtocols
Type: OIV.RemoteViz.Clients.NodesSoRemoteVizClientSecurityProtocols

: 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.

privateKeyPassphrase
Type: SystemString

: The passphrase that protect the private key. Security warning !! DO NOT hard-code the passphrase !! Read it from a SECURE location on your system.

Remarks

See Also