diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-02-13 11:27:02 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-02-13 11:27:02 +0100 |
commit | 00e4e0cbaf7fe6b2ecb08011995f00e503981911 (patch) | |
tree | a460d18b334c9cc57b31396f9380809c760db3b0 /moaSig/moa-asic/src/test/java/at/gv | |
parent | c6083bb7ebd59cb5316ee531d30d1c2da583e594 (diff) | |
download | moa-sig-00e4e0cbaf7fe6b2ecb08011995f00e503981911.tar.gz moa-sig-00e4e0cbaf7fe6b2ecb08011995f00e503981911.tar.bz2 moa-sig-00e4e0cbaf7fe6b2ecb08011995f00e503981911.zip |
add infos about signature and hash algorithms into responses
Diffstat (limited to 'moaSig/moa-asic/src/test/java/at/gv')
-rw-r--r-- | moaSig/moa-asic/src/test/java/at/gv/egiz/asic/dev/Main.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/moaSig/moa-asic/src/test/java/at/gv/egiz/asic/dev/Main.java b/moaSig/moa-asic/src/test/java/at/gv/egiz/asic/dev/Main.java index 5005a3b..ec6e902 100644 --- a/moaSig/moa-asic/src/test/java/at/gv/egiz/asic/dev/Main.java +++ b/moaSig/moa-asic/src/test/java/at/gv/egiz/asic/dev/Main.java @@ -5,6 +5,7 @@ import at.gv.egiz.asic.api.ASiCFactory; import at.gv.egiz.asic.api.ASiCFormat; import at.gv.egiz.asic.api.ASiCVerificationResult; import at.gv.egiz.asic.impl.ASiCMOAVerifier; +import at.gv.egiz.asic.impl.AsicSignedFilesContainer; import at.gv.egiz.asic.xmlbind.VerifyASICSignatureResponseBuilder; import at.gv.egovernment.moa.spss.MOASystemException; import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; @@ -79,9 +80,9 @@ public class Main { // Auswertung der Response System.out.println(); System.out.println("Signierte Eintraege"); - Iterator<String> signedFilesIterator = aSiCVerificationResult.getSignedFiles().iterator(); + Iterator<AsicSignedFilesContainer> signedFilesIterator = aSiCVerificationResult.getSignedFiles().iterator(); while (signedFilesIterator.hasNext()) { - System.out.println(" " + signedFilesIterator.next()); + System.out.println(" " + signedFilesIterator.next().getUri()); } System.out.println(); } |