diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-06-12 13:01:18 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-06-12 13:01:18 +0200 |
commit | 25b88dfe530bdfe50e88f8c12c04fc037701556a (patch) | |
tree | a8e965e57b4b35694056af7b4f56ff86dfadd98d /moaSig/moa-sig-lib/src | |
parent | 0afd426dbe5e4ff1313b8ebfe28b0948e3f4d564 (diff) | |
download | moa-sig-25b88dfe530bdfe50e88f8c12c04fc037701556a.tar.gz moa-sig-25b88dfe530bdfe50e88f8c12c04fc037701556a.tar.bz2 moa-sig-25b88dfe530bdfe50e88f8c12c04fc037701556a.zip |
add new method to get signing time in XAdES verification result
Diffstat (limited to 'moaSig/moa-sig-lib/src')
-rw-r--r-- | moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java index 82d01c0..0b73442 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java @@ -76,6 +76,12 @@ public class VerifyXMLSignatureResponseBuilder { responseElem = responseDoc.getDocumentElement(); } + public VerifyXMLSignatureResponseBuilder(boolean includeSigningTime) throws MOASystemException { + responseDoc = ResponseBuilderUtils.createResponse("VerifyXMLSignatureResponse"); + responseElem = responseDoc.getDocumentElement(); + this.includeSigningTime = includeSigningTime; + } + public VerifyXMLSignatureResponseBuilder(Document responseDoc, String name, boolean includeSigningTime) throws MOASystemException { this.responseDoc = responseDoc; responseElem = responseDoc.createElementNS(MOA_NS_URI, name); |