user_id_matches_any

Function user_id_matches_any 

Source
pub(crate) fn user_id_matches_any(
    user_id: &str,
    identity_domain_names: &HashSet<DomainName>,
) -> bool
Expand description

Checks whether an OpenPGP User ID matches any domain name in a set of domain names.

Returns true if user_id matches any of the identity_domain_names, false otherwise.