ServiceListenerOnRequestedPrivateKeyPassphrase Method |
Namespace: OIV.RemoteViz.RenderingAssembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public virtual string OnRequestedPrivateKeyPassphrase()
Public Overridable Function OnRequestedPrivateKeyPassphrase As String
public:
virtual String^ OnRequestedPrivateKeyPassphrase()
abstract OnRequestedPrivateKeyPassphrase : unit -> string
override OnRequestedPrivateKeyPassphrase : unit -> string
Return Value
Type:
StringRemarks 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)