deltachat::pgp

Function pk_decrypt

source
pub fn pk_decrypt(
    ctext: Vec<u8>,
    private_keys_for_decryption: &[SignedSecretKey],
) -> Result<Message>
Expand description

Decrypts the message with keys from the private key keyring.

Receiver private keys are provided in private_keys_for_decryption.