summaryrefslogtreecommitdiff
path: root/STAL/src/main/java/at
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-11-28 13:23:28 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-11-28 13:23:28 +0000
commitcabc42be1db17af1f7931544f50e0019959da49b (patch)
tree6b2ffb0e3dfc2a5559a4ce5eaf48240b64f9451e /STAL/src/main/java/at
parent624dc3a0b6ef39948b9e78841ef7f75f27fee8da (diff)
downloadmocca-cabc42be1db17af1f7931544f50e0019959da49b.tar.gz
mocca-cabc42be1db17af1f7931544f50e0019959da49b.tar.bz2
mocca-cabc42be1db17af1f7931544f50e0019959da49b.zip
Extend SignRequest to allow non-XML-Signatures
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1235 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'STAL/src/main/java/at')
-rw-r--r--STAL/src/main/java/at/gv/egiz/stal/SignRequest.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/STAL/src/main/java/at/gv/egiz/stal/SignRequest.java b/STAL/src/main/java/at/gv/egiz/stal/SignRequest.java
index 88b45b19..a649d3ba 100644
--- a/STAL/src/main/java/at/gv/egiz/stal/SignRequest.java
+++ b/STAL/src/main/java/at/gv/egiz/stal/SignRequest.java
@@ -65,6 +65,10 @@ public class SignRequest
protected byte[] signedInfo;
@XmlTransient
protected List<HashDataInput> hashData;
+ @XmlTransient
+ protected boolean signedInfoIsRawData = false;
+ @XmlTransient
+ protected String signatureMethod;
/**
* Gets the value of the keyIdentifier property.
@@ -119,4 +123,20 @@ public class SignRequest
public void setHashDataInput(List<HashDataInput> hashData) {
this.hashData = hashData;
}
+
+ public boolean getSignedInfoIsRawData() {
+ return signedInfoIsRawData;
+ }
+
+ public void setSignedInfoIsRawData(boolean signedInfoIsRawData) {
+ this.signedInfoIsRawData = signedInfoIsRawData;
+ }
+
+ public String getSignatureMethod() {
+ return signatureMethod;
+ }
+
+ public void setSignatureMethod(String signatureMethod) {
+ this.signatureMethod = signatureMethod;
+ }
}