Function thrussh_keys::decode_openssh[][src]

pub fn decode_openssh(
    secret: &[u8],
    password: Option<&str>
) -> Result<KeyPair, Error>
Expand description

Decode a secret key given in the OpenSSH format, deciphering it if needed using the supplied password.