Discuss this help topic in SecureBlackbox Forum
This method loads the private key from file or buffer.
Declaration
Parameters
Return value
Returns 0 on success, and error code otherwise.
Error codes
|
Description
Use this method to load RSA/DSA private key from file or buffer.
If the key is stored in Putty format (the file contains both public and private keys; only the private key is protected), and SB_ERROR_SSH_KEYS_INVALID_PASSPHRASE is returned, the public part of the key will be loaded anyway.