Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadIdentity ¶
LoadIdentity loads the private key + certificate from a file Returns:
- client key: user's private key+cert
- host auth callback: function to validate the host (may be null)
- error, if something happens when reading the identity file
If the "host auth callback" is not returned, user will be prompted to trust the proxy server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.