Function thrussh_keys::openssh::decode_openssh [−][src]
pub fn decode_openssh(
secret: &[u8],
password: Option<&[u8]>
) -> Result<KeyPair, Error>
Expand description
Decode a secret key given in the OpenSSH format, deciphering it if needed using the supplied password.