« blib/lib/Crypt/Perl/X509/Extension/authorityInfoAccess.pm
↑ Summary
blib/lib/Crypt/Perl/X509/Extension/ct_precert_scts.pm »
| 1 | package Crypt::Perl::X509::Extension::ct_precert_poison; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | =encoding utf-8 | ||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | Crypt::Perl::X509::Extension::ct_precert_poison | ||
| 11 | |||
| 12 | =head1 SYNOPSIS | ||
| 13 | |||
| 14 | my $extn = Crypt::Perl::X509::Extension::ct_precert_poison->new(); | ||
| 15 | |||
| 16 | =head1 DESCRIPTION | ||
| 17 | |||
| 18 | Instances of this class represent a C<ct_precert_poison> extension | ||
| 19 | of an X.509 (SSL) certificate. | ||
| 20 | |||
| 21 | You probably don’t need to | ||
| 22 | instantiate this class directly; see L<Crypt::Perl::PKCS10> | ||
| 23 | and L<Crypt::Perl::X509> for the way this module is meant to be used. | ||
| 24 | |||
| 25 | =head1 SEE ALSO | ||
| 26 | |||
| 27 | =over | ||
| 28 | |||
| 29 | =item * L<https://tools.ietf.org/html/rfc6962#section-3.3> | ||
| 30 | |||
| 31 | =item * L<https://letsencrypt.org/2018/04/04/sct-encoding.html> | ||
| 32 | |||
| 33 | =back | ||
| 34 | |||
| 35 | =cut | ||
| 36 | |||
| 37 | use parent qw( | ||
| 38 | Crypt::Perl::X509::Extension | ||
| 39 | ); | ||
| 40 | |||
| 41 | use constant OID => '1.3.6.1.4.1.11129.2.4.3'; | ||
| 42 | |||
| 43 | use constant ASN1 => <<END; | ||
| 44 | ct_precert_poison ::= NULL | ||
| 45 | END | ||
| 46 | |||
| 47 | sub new { bless [] } | ||
| 48 | |||
| 49 | use constant CRITICAL => 1; | ||
| 50 | |||
| 51 | use constant _encode_params => (); | ||
| 52 | |||
| 53 | 1; |