line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Crypt::Perl::X509::Extension::issuerAltName; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
549
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
47
|
|
4
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
57
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=encoding utf-8 |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Crypt::Perl::X509::Extension::issuerAltName - X.509 issuerAltName extension |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 SYNOPSIS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
my $san = Crypt::Perl::X509::Extension::issuerAltName->new( |
15
|
|
|
|
|
|
|
[ dNSName => 'foo.com' ], |
16
|
|
|
|
|
|
|
[ dNSName => 'bar.com' ], |
17
|
|
|
|
|
|
|
[ rfc822Name => 'haha@tld.com' ], |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 SEE ALSO |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=cut |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
|
|
7
|
use parent qw( |
25
|
|
|
|
|
|
|
Crypt::Perl::X509::Extension |
26
|
|
|
|
|
|
|
Crypt::Perl::X509::GeneralNames |
27
|
1
|
|
|
1
|
|
8
|
); |
|
1
|
|
|
|
|
3
|
|
28
|
|
|
|
|
|
|
|
29
|
1
|
|
|
1
|
|
66
|
use Crypt::Perl::X509::GeneralNames (); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
24
|
|
30
|
|
|
|
|
|
|
|
31
|
1
|
|
|
1
|
|
5
|
use constant OID => '2.5.29.18'; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
80
|
|
32
|
|
|
|
|
|
|
|
33
|
1
|
|
|
1
|
|
6
|
use constant ASN1 => Crypt::Perl::X509::GeneralNames::ASN1() . <
|
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
58
|
|
34
|
|
|
|
|
|
|
issuerAltName ::= GeneralNames |
35
|
|
|
|
|
|
|
END |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |