blib/lib/Crypt/Perl/X509/Extension/issuerAltName.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Crypt::Perl::X509::Extension::issuerAltName;
2  
3 use strict;
4 use warnings;
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 use parent qw(
25 Crypt::Perl::X509::Extension
26 Crypt::Perl::X509::GeneralNames
27 );
28  
29 use Crypt::Perl::X509::GeneralNames ();
30  
31 use constant OID => '2.5.29.18';
32  
33 use constant ASN1 => Crypt::Perl::X509::GeneralNames::ASN1() . <<END;
34 issuerAltName ::= GeneralNames
35 END
36  
37 1;