NAME

Crypt::Perl::X509::Extension::nameConstraints

SYNOPSIS

my $usage_obj = Crypt::Perl::X509::Extension::nameConstraints->new(
    permitted => [
        [ dNSName => 'haha.tld', 1, 4 ],    #min, max
    ],
    excluded => [
        [ dNSName => 'fofo.tld', 7 ],
        [ rfc822Name => 'haha@fofo.tld' ],
    ],
);

SEE ALSO

https://tools.ietf.org/html/rfc5280#section-4.2.1.2