pub fn decode_pkcs5(
secret: &[u8],
password: Option<&str>,
enc: Encryption,
) -> Result<PrivateKey, Error>Expand description
Decode a secret key in the PKCS#5 format, possibly deciphering it using the supplied password.
pub fn decode_pkcs5(
secret: &[u8],
password: Option<&str>,
enc: Encryption,
) -> Result<PrivateKey, Error>Decode a secret key in the PKCS#5 format, possibly deciphering it using the supplied password.