Click or drag to resize
ServiceListenerOnRequestedPrivateKeyPassphrase Method

Triggered when the secure connection is enabled.

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

Return Value

Type: String
Remarks

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.

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

Default behavior : returns an empty string.

See Also