Crypt::Perl::X509::Extension::certificatePolicies
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', } ], ], );
To install Crypt::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Perl
CPAN shell
perl -MCPAN -e shell install Crypt::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.