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