line |
true |
false |
branch |
63
|
12 |
1 |
unless $xpath->exists("//saml:EncryptedAssertion")
|
65
|
0 |
1 |
unless defined $key_file
|
75
|
0 |
1 |
unless $assert_nodes->size
|
78
|
0 |
1 |
unless $xpath->exists("dsig:Signature", $assert)
|
82
|
0 |
1 |
unless $ret
|
84
|
0 |
1 |
unless $cacert
|
86
|
0 |
1 |
unless $cert
|
89
|
0 |
1 |
unless $ca->verify($cert)
|
133
|
12 |
1 |
if (my $value = $xpath->findvalue($xpath_base . '@NotBefore')) { }
|
|
1 |
0 |
elsif (my $global = $xpath->findvalue('//saml:Conditions/@NotBefore')) { }
|
144
|
12 |
1 |
if (my $value = $xpath->findvalue($xpath_base . '@NotOnOrAfter')) { }
|
|
1 |
0 |
elsif (my $global = $xpath->findvalue('//saml:Conditions/@NotOnOrAfter')) { }
|
155
|
8 |
5 |
if (my $node = $xpath->findnodes('/samlp:Response/saml:Assertion/saml:Subject/saml:NameID')) { }
|
|
3 |
2 |
elsif (my $global = $xpath->findnodes('//saml:Subject/saml:NameID')) { }
|
163
|
10 |
3 |
if (my $node = $xpath->findnodes("/samlp:Response/saml:Assertion/saml:AuthnStatement"))
|
169
|
0 |
13 |
unless $nodeset->size
|
175
|
1 |
12 |
if (my $s = &first(sub {
|
179
|
11 |
2 |
$nameid ? :
|
|
1 |
12 |
$sub_status ? :
|
|
10 |
3 |
$authnstatement ? :
|
209
|
0 |
6 |
unless $self->has_nameid
|
216
|
0 |
1 |
unless $self->has_nameid
|
223
|
0 |
1 |
unless $self->has_nameid
|
230
|
0 |
1 |
unless $self->has_nameid
|
237
|
0 |
1 |
unless $self->has_nameid
|
244
|
0 |
0 |
unless $self->has_authnstatement
|
251
|
0 |
3 |
unless $self->has_authnstatement
|
258
|
0 |
3 |
unless $self->has_authnstatement
|
265
|
0 |
6 |
unless $self->has_authnstatement
|
271
|
2 |
4 |
if (my $nodes = $xpc->find($xpath_base, $self->authnstatement_object))
|
281
|
0 |
3 |
unless $self->has_authnstatement
|
283
|
2 |
1 |
unless $subjectlocality
|
290
|
0 |
3 |
unless $self->has_authnstatement
|
292
|
2 |
1 |
unless $subjectlocality
|
299
|
0 |
3 |
unless $self->has_authnstatement
|
305
|
3 |
0 |
if (my $nodes = $xpc->find($xpath_base, $self->authnstatement_object))
|
315
|
0 |
3 |
unless $self->has_authnstatement
|
317
|
0 |
3 |
unless $authncontextclassref
|
320
|
3 |
0 |
if (my $value = $xpc->findvalue("//saml:AuthnContextClassRef", $self->authnstatement_object))
|
330
|
0 |
22 |
unless defined $audience
|
331
|
6 |
16 |
unless $audience eq $self->audience
|
333
|
3 |
13 |
unless not defined $in_response_to or $in_response_to eq $self->in_response_to
|
340
|
4 |
9 |
unless "DateTime"->compare($now, $self->not_before) > -1
|
341
|
2 |
7 |
unless "DateTime"->compare($self->not_after, $now) > 0
|
349
|
0 |
1 |
if $self->response_status eq "urn:oasis:names:tc:SAML:2.0:status:Success"
|
358
|
12 |
2 |
unless $options{'key_file'}
|