Function thrussh_keys::decode_pkcs5 [] [src]

pub fn decode_pkcs5(
    secret: &[u8],
    password: Option<&[u8]>,
    enc: Encryption
) -> Result<KeyPair, Error>

Decode a secret key in the PKCS#5 format, possible deciphering it using the supplied password.