Function webpki::subject_name::dns_name::is_valid_dns_id

source ยท
fn is_valid_dns_id(
    hostname: Input<'_>,
    id_role: IdRole,
    allow_wildcards: AllowWildcards,
) -> bool