Function thrussh_keys::load_secret_key
source · pub fn load_secret_key<P: AsRef<Path>>(
secret_: P,
password: Option<&[u8]>
) -> Result<KeyPair, Error>
Expand description
Load a secret key, deciphering it with the supplied password if necessary.