| blib/lib/XML/Enc.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 28 | 50 | 56.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 371 | 2 | 0 | 224 | defined $self->{'key_name'} and $self->{'key_name'} ne "" |
| 659 | 9 | 0 | 35 | defined $self->{'oaep_label_hash'} && $self->{'oaep_label_hash'} ne '' |
| 670 | 0 | 0 | 175 | defined $self->{'oaep_label_hash'} && $self->{'oaep_label_hash'} ne '' |
| 983 | 7 | 9 | 35 | $self->{'key_transport'} eq "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p" and $self->{'oaep_label_hash'} |
| 1006 | 51 | 0 | 175 | $self->{'key_transport'} eq "http://www.w3.org/2009/xmlenc11#rsa-oaep" and $self->{'oaep_mgf_alg'} |
| line | l | !l | condition |
|---|---|---|---|
| 259 | 2 | 0 | $node->parentNode->localname // "" |
| 459 | 350 | 0 | $OAEPAlgorithm->{$method} // "SHA1" |
| 600 | 0 | 0 | $digest_name // "SHA1" |
| 0 | 0 | $oaep // "" | |
| 609 | 0 | 52 | $mgf // "SHA1" |
| 38 | 14 | $oaep // "" | |
| 37 | 15 | $digest_name // "SHA1" | |
| 624 | 0 | 0 | $oaep // "" |
| 630 | 175 | 0 | $oaep // "" |
| 175 | 0 | $digest_name // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 444 | 175 | 0 | 35 | $setOAEPAlgorithm->{$method} // $setOAEPAlgorithm->{'rsa-oaep-mgf1p'} |
| 474 | 210 | 0 | 0 | $OAEPDigest->{$method} // $OAEPDigest->{'sha256'} |
| 489 | 210 | 0 | 0 | $ParamsAlgorithm->{$method} // $ParamsAlgorithm->{'http://www.w3.org/2000/09/xmldsig#sha1'} |
| 502 | 224 | 0 | 16 | $enc_methods->{$method} // $enc_methods->{'rsa-oaep-mgf1p'} |
| 983 | 175 | 35 | 16 | $self->{'key_transport'} eq "http://www.w3.org/2009/xmlenc11#rsa-oaep" or $self->{'key_transport'} eq "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p" and $self->{'oaep_label_hash'} |