deltachat::pgp

Function valid_signature_fingerprints

source
pub fn valid_signature_fingerprints(
    msg: &Message,
    public_keys_for_validation: &[SignedPublicKey],
) -> Result<HashSet<Fingerprint>>
Expand description

Returns fingerprints of all keys from the public_keys_for_validation keyring that have valid signatures there.

If the message is wrongly signed, HashSet will be empty.