user_id_matches_domain

Function user_id_matches_domain 

Source
fn user_id_matches_domain(
    userid: &str,
    identity_domain_name: &DomainName,
) -> bool
Expand description

Checks whether an OpenPGP User ID matches a domain name.

Returns true if userid has a domain part, and it matches identity_domain_name, false otherwise.