Function is_protected

Source
fn is_protected(key: &str) -> bool
Expand description

Returns whether the outer header value must be ignored if the message contains a signed (and optionally encrypted) part.

NB: There are known cases when Subject and List-ID only appear in the outer headers of signed-only messages. Such messages are shown as unencrypted anyway.