Click or drag to resize
ServiceListenerOnRequestedPrivateKeyPassphrase Method

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public virtual string OnRequestedPrivateKeyPassphrase()

Return Value

Type: String
Remarks

Triggered when the secure connection is enabled. This callback has to return the private key passphrase.

If the private key does not contain a passphrase, do not implement this callback. The default implementation will return an empty string.

Security warning !! DO NOT hard-code the passphrase into this callback !! Read it from a SECURE location on your system.

Default behavior : returns an empty string.

See Also

Reference

OIV.RemoteViz.Rendering.ServiceSettings.EnableSecureConnection(System.String, System.String, OIV.RemoteViz.Rendering.ServiceSettings.SecurityProtocols)