line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Crypt::Perl::X509::Extension::inhibitAnyPolicy; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
503
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=encoding utf-8 |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Crypt::Perl::X509::Extension::inhibitAnyPolicy |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 SYNOPSIS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
my $usage_obj = Crypt::Perl::X509::Extension::inhibitAnyPolicy->new( 5 ); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 SEE ALSO |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
L |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=cut |
21
|
|
|
|
|
|
|
|
22
|
1
|
|
|
1
|
|
5
|
use parent qw( Crypt::Perl::X509::Extension ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
1
|
|
60
|
use constant OID => '2.5.29.54'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
66
|
|
25
|
|
|
|
|
|
|
|
26
|
1
|
|
|
1
|
|
7
|
use constant CRITICAL => 1; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
54
|
|
27
|
|
|
|
|
|
|
|
28
|
1
|
|
|
1
|
|
6
|
use constant ASN1 => <
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
117
|
|
29
|
|
|
|
|
|
|
SkipCerts ::= INTEGER |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
inhibitAnyPolicy ::= SkipCerts |
32
|
|
|
|
|
|
|
END |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub new { |
35
|
6
|
|
|
6
|
0
|
29
|
my ($class, $skip_int) = @_; |
36
|
|
|
|
|
|
|
|
37
|
6
|
|
|
|
|
33
|
return bless \$skip_int, $class; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub _encode_params { |
41
|
6
|
|
|
6
|
|
24
|
my ($self) = @_; |
42
|
|
|
|
|
|
|
|
43
|
6
|
|
|
|
|
32
|
return $$self; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |