lib/Crypt/Perl/X509/Extension/ct_precert_poison.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 0.0% 0 / 1 totaltotal 96.8% 31 / 32 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Crypt/Perl/PKCS10/Attribute/challengePassword.pm ↑ Summary lib/Crypt/Perl/X509/Extension/inhibitAnyPolicy.pm »
1 package Crypt::Perl::X509::Extension::ct_precert_poison;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
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 1 use parent qw(
38 Crypt::Perl::X509::Extension
39 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
40  
41 1 ▶use constant OID => '1.3.6.1.4.1.11129.2.4.3';
Subroutine BEGIN: called CC=1 SCAR=0.0
42  
43 1 ▶use constant ASN1 => <<END;
Subroutine BEGIN: called CC=1 SCAR=0.0
44 ct_precert_poison ::= NULL
45 END
46  
47 6 ▶sub new { bless [] }
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
48  
49 1 ▶use constant CRITICAL => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
50  
51 1 ▶use constant _encode_params => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
52  
53 1 1;
« lib/Crypt/Perl/PKCS10/Attribute/challengePassword.pm ↑ Summary lib/Crypt/Perl/X509/Extension/inhibitAnyPolicy.pm »