Function thrussh_keys::decode_secret_key [−][src]
pub fn decode_secret_key(
secret: &str,
password: Option<&str>
) -> Result<KeyPair, Error>
Expand description
Decode a secret key, possibly deciphering it with the supplied password.