Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
luisgoncalves committed Feb 8, 2014
1 parent 41fbdc5 commit f084cba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/xades4j/verification/XadesVerifierImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ private Date getValidationDate(
new QualifyingPropertyVerificationContext.SignedObjectsData(
new ArrayList<RawDataObjectDesc>(0),
signature));
QualifyingProperty sigTs = this.qualifyingPropertiesVerifier.verifyProperties(sigTsData, ctx).iterator().next().getProperty();
Collection<PropertyInfo> props = this.qualifyingPropertiesVerifier.verifyProperties(sigTsData, ctx);
QualifyingProperty sigTs = props.iterator().next().getProperty();

return ((SignatureTimeStampProperty) sigTs).getTime();
}
Expand Down

0 comments on commit f084cba

Please sign in to comment.