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