line |
true |
false |
branch |
109
|
0 |
0 |
if (scalar @_ == 4) { } |
152
|
0 |
0 |
unless $$self{'backend'} |
154
|
0 |
0 |
if ($keyfile) |
155
|
0 |
0 |
unless (defined $$self{'reqFormat'} and $$self{'reqFormat'}) |
164
|
0 |
0 |
unless $$self{'req'} |
171
|
0 |
0 |
if ($infile) |
174
|
0 |
0 |
unless open FD, "<$infile" |
182
|
0 |
0 |
unless $$self{'req'} |
186
|
0 |
0 |
if (not defined $$self{'reqFormat'} or $$self{'reqFormat'} eq '') |
187
|
0 |
0 |
if ($$self{'req'} and $$self{'req'} =~ /SPKAC\s*=\s*/g) { } |
|
0 |
0 |
elsif ($$self{'req'} and $$self{'req'} =~ /REVOKE_CERTIFICATE_SERIAL\s*=\s*/g) { } |
197
|
0 |
0 |
if ($$self{'req'} ne '') |
200
|
0 |
0 |
unless ($self->init('REQ', $$self{'req'}, 'FORMAT', $$self{'reqFormat'})) |
218
|
0 |
0 |
if (not $$self{'req'}) { } |
|
0 |
0 |
elsif (not $$self{'reqFormat'} =~ /SPKAC|CRR/i) { } |
221
|
0 |
0 |
unless $$self{'parsedItem'} |
231
|
0 |
0 |
unless $$self{'parsedItem'} |
236
|
0 |
0 |
if ($$self{'reqFormat'} =~ /SPKAC/) { } |
|
0 |
0 |
elsif ($$self{'reqFormat'} =~ /CRR/) { } |
242
|
0 |
0 |
unless $$self{'parsedSPKAC'} |
253
|
0 |
0 |
unless $$self{'parsedCRR'} |
267
|
0 |
0 |
if ($$self{'reqFormat'} =~ /SPKAC/i) { } |
|
0 |
0 |
elsif ($$self{'reqFormat'} =~ /CRR/i) { } |
268
|
0 |
0 |
unless $$self{'parsedSPKAC'} |
272
|
0 |
0 |
unless $$self{'parsedCRR'} |
276
|
0 |
0 |
unless $$self{'parsedItem'} |
294
|
0 |
0 |
if (($txt) = $req =~ /$beginHeader\s*\n([\s\S\n]+)\n$endHeader/) |
297
|
0 |
0 |
if ($active_multirow) { } |
|
0 |
0 |
elsif ($i =~ /^$beginAttribute$/) { } |
299
|
0 |
0 |
if ($i =~ /^$endAttribute$/) { } |
303
|
0 |
0 |
if $$ret{$key} |
319
|
0 |
0 |
if ($key eq 'SUBJ') |
372
|
0 |
0 |
unless $ret |
409
|
0 |
0 |
unless $fullReq |
429
|
0 |
0 |
if (not $$ret{'BODY'}) { } |
431
|
0 |
0 |
if $$self{'DEBUG'} |
433
|
0 |
0 |
unless ($$ret{'HEADER'}) |
437
|
0 |
0 |
unless ($$ret{'HEADER'}{'TYPE'} =~ /HEADER/i) |
448
|
0 |
0 |
if $$self{'DEBUG'} |
451
|
0 |
0 |
if (uc $format ne 'CRR') |
454
|
0 |
0 |
if ($format =~ /SPKAC/i) { } |
469
|
0 |
0 |
if ($$self{'DEBUG'}) |
476
|
0 |
0 |
if (exists $$ret{'PUBKEY'}) |
482
|
0 |
0 |
if ($format =~ /SPKAC/i) { } |
|
0 |
0 |
elsif ($format =~ /CRR/i) { } |
495
|
0 |
0 |
if ($key ne '') |
496
|
0 |
0 |
if ($key =~ /SPKAC/i) { } |
499
|
0 |
0 |
if $$ret{'DN'} |
526
|
0 |
0 |
unless exists $$ret{'VERSION'} |
541
|
0 |
0 |
if (exists $$ret{'HEADER'}{'TYPE'}) { } |
555
|
0 |
0 |
if ($$ret{'HEADER'}{'SUBJECT'}) { } |
556
|
0 |
0 |
if $$self{'DEBUG'} |
559
|
0 |
0 |
if $$self{'DEBUG'} |
569
|
0 |
0 |
if (substr($fixed_dn, $i, 1) eq '\\') { } |
|
0 |
0 |
elsif (substr($fixed_dn, $i, 1) eq '=') { } |
|
0 |
0 |
elsif (substr($fixed_dn, $i, 1) =~ /[,+]/) { } |
573
|
0 |
0 |
if ($now =~ /value/) { } |
590
|
0 |
0 |
if ($fixed_dn =~ /[\\+]/) { } |
593
|
0 |
0 |
if $rdn->isMultivalued |
598
|
0 |
0 |
if $$self{'DEBUG'} |
609
|
0 |
0 |
if $$self{'DEBUG'} |
617
|
0 |
0 |
if ($$self{'DEBUG'}) |
625
|
0 |
0 |
if ($$ret{'HEADER'}{'SUBJECT_ALT_NAME'} and $$ret{'HEADER'}{'SUBJECT_ALT_NAME'} =~ /^\s*email\s*:/i || $$ret{'HEADER'}{'SUBJECT_ALT_NAME'} =~ /,\s*email\s*:/i) { } |
|
0 |
0 |
elsif ($$ret{'DN_HASH'}{'EMAILADDRESS'} and $$ret{'DN_HASH'}{'EMAILADDRESS'}[0]) { } |
631
|
0 |
0 |
unless ($$ret{'EMAILADDRESS'}) |
644
|
0 |
0 |
if ($$self{'DEBUG'}) |
649
|
0 |
0 |
unless ($$ret{'HEADER'}{'TYPE'} =~ /HEADER/) |
653
|
0 |
0 |
if $$ret{'SIGNATURE'} |
672
|
0 |
0 |
if ($$self{'reqFormat'} =~ /SPKAC/i) { } |
|
0 |
0 |
elsif ($$self{'reqFormat'} =~ /CRR/i) { } |
673
|
0 |
0 |
unless $$self{'spkacREQ'} |
681
|
0 |
0 |
unless $$self{'revokeREQ'} |
688
|
0 |
0 |
unless ($$self{'txtREQ'}) |
694
|
0 |
0 |
unless $$self{'txtREQ'} |
700
|
0 |
0 |
unless $$self{'txtREQ'} |
711
|
0 |
0 |
if $$self{'reqFormat'} =~ /SPKAC/i |
713
|
0 |
0 |
if $$self{'reqFormat'} =~ /CRR/i |
716
|
0 |
0 |
if ($$self{'reqFormat'} eq 'PEM') |
717
|
0 |
0 |
unless $$self{'req'} =~ /\n$/ |
720
|
0 |
0 |
unless ($$self{'pemREQ'}) |
726
|
0 |
0 |
unless $$self{'pemREQ'} |
732
|
0 |
0 |
unless $$self{'pemREQ'} |
742
|
0 |
0 |
if $$self{'reqFormat'} =~ /SPKAC/i |
744
|
0 |
0 |
if $$self{'reqFormat'} =~ /CRR/i |
747
|
0 |
0 |
if ($$self{'reqFormat'} eq 'DER') |
750
|
0 |
0 |
unless ($$self{'derREQ'}) |
756
|
0 |
0 |
unless $$self{'derREQ'} |
762
|
0 |
0 |
unless $$self{'derREQ'} |
778
|
0 |
0 |
unless (defined $ret) |
815
|
0 |
0 |
unless $$self{'reqFormat'} =~ /^PEM|CRR|SPKAC$/i |
817
|
0 |
0 |
if $$self{'DEBUG'} |
820
|
0 |
0 |
unless ($$self{'item'} =~ /$beginHeader/) |
827
|
0 |
0 |
if $$self{'DEBUG'} |
833
|
0 |
0 |
if ($$keys{$attribute} =~ /\n/) { } |
844
|
0 |
0 |
unless $self->init('REQ', $$self{'item'}, 'FORMAT', $$self{'reqFormat'}) |