lib/Crypt/Perl/PK.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 14 | 64.2 |
line | true | false | branch |
---|---|---|---|
46 | 0 | 19 | if (ref $der_or_pem) |
65 | 19 | 17 | if $obj |
74 | 0 | 4 | if ('HASH' ne ref $hr) |
80 | 4 | 0 | if ($kty) |
83 | 2 | 2 | if ($kty eq 'RSA') { } |
0 | 2 | elsif ($kty eq 'OKP' and $hr->{'crv'} eq 'Ed25519') { } | |
2 | 0 | elsif ($kty eq 'EC') { } |