lib/Crypt/Perl/PK.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 16 | 56.2 |
line | true | false | branch |
---|---|---|---|
46 | 0 | 20 | if (ref $der_or_pem) |
65 | 20 | 19 | 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') { } | |
2 | 0 | elsif ($kty eq 'EC') { } | |
88 | 0 | 0 | if ($hr->{'crv'} ne 'Ed25519') |