Can get the password previously used for decrypting the private key
Throws an error if the key cannot be loaded

The error is thrown if the key is malformed. It will also be thrown if
you are trying to load a private key with the wrong password.