Function pgp::composed::message::decrypt_session_key
source · pub fn decrypt_session_key<F>(
locked_key: &(impl SecretKeyTrait + KeyTrait),
key_pw: F,
mpis: &[Mpi]
) -> Result<(Vec<u8>, SymmetricKeyAlgorithm)>
Expand description
Decrypts session key using secret key.