aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-sig-lib/src/main
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2018-06-12 13:01:18 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2018-06-12 13:01:18 +0200
commit25b88dfe530bdfe50e88f8c12c04fc037701556a (patch)
treea8e965e57b4b35694056af7b4f56ff86dfadd98d /moaSig/moa-sig-lib/src/main
parent0afd426dbe5e4ff1313b8ebfe28b0948e3f4d564 (diff)
downloadmoa-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/main')
-rw-r--r--moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java6
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);