The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Crypt::Perl::X509::Extension::certificatePolicies

SYNOPSIS

Crypt::Perl::X509::Extension::certificatePolicies->new(
    [ 'domain-validated' ],
    [ '1.3.6.1.4.1.6449.1.2.2.52',
        [ cps => 'http://cps.url' ],
        [ cps => 'http://cps.url2' ],
    ],
    [ '1.2.3.4.5.6.7.8',
        [ unotice => {

            #NB: “Conforming CAs SHOULD NOT use the noticeRef option.”
            noticeRef => {
                organization => 'FooFoo',
                noticeNumbers => [ 12, 23, 34 ],
            },

            explicitText => 'apple',
        } ],
    ],
);