summaryrefslogtreecommitdiff
path: root/BKUOnline/src/test/java/at/gv/egiz
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-12-13 01:26:39 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-12-13 01:26:39 +0000
commitd311d0f7b7ef9ed5bc383d6744b7d61239aafbc1 (patch)
treeb48a211d1a907ad7af72027b2b2709ecd540b27c /BKUOnline/src/test/java/at/gv/egiz
parent8d597612c69c77982c981f711f549bc826b06fd8 (diff)
downloadmocca-d311d0f7b7ef9ed5bc383d6744b7d61239aafbc1.tar.gz
mocca-d311d0f7b7ef9ed5bc383d6744b7d61239aafbc1.tar.bz2
mocca-d311d0f7b7ef9ed5bc383d6744b7d61239aafbc1.zip
Extend STAL to support CMS SignedAttributes
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1262 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/test/java/at/gv/egiz')
-rw-r--r--BKUOnline/src/test/java/at/gv/egiz/stal/service/STALRequestBrokerTest.java16
1 files changed, 12 insertions, 4 deletions
diff --git a/BKUOnline/src/test/java/at/gv/egiz/stal/service/STALRequestBrokerTest.java b/BKUOnline/src/test/java/at/gv/egiz/stal/service/STALRequestBrokerTest.java
index 164e6335..bfbff5a4 100644
--- a/BKUOnline/src/test/java/at/gv/egiz/stal/service/STALRequestBrokerTest.java
+++ b/BKUOnline/src/test/java/at/gv/egiz/stal/service/STALRequestBrokerTest.java
@@ -114,7 +114,9 @@ public class STALRequestBrokerTest {
List<STALRequest> requests = new ArrayList<STALRequest>();
SignRequest r1 = new SignRequest();
r1.setKeyIdentifier("keybox1");
- r1.setSignedInfo("1234".getBytes());
+ SignRequest.SignedInfo si1 = new SignRequest.SignedInfo();
+ si1.setValue("1234".getBytes());
+ r1.setSignedInfo(si1);
HashDataInput hdi = new HashDataInput() {
@Override
@@ -166,7 +168,9 @@ public class STALRequestBrokerTest {
List<STALRequest> requests = new ArrayList<STALRequest>();
SignRequest r1 = new SignRequest();
r1.setKeyIdentifier("keybox1");
- r1.setSignedInfo("1234".getBytes());
+ SignRequest.SignedInfo si1 = new SignRequest.SignedInfo();
+ si1.setValue("1234".getBytes());
+ r1.setSignedInfo(si1);
HashDataInput hdi = new HashDataInput() {
@Override
@@ -230,7 +234,9 @@ public class STALRequestBrokerTest {
List<STALRequest> requests = new ArrayList<STALRequest>();
SignRequest r1 = new SignRequest();
r1.setKeyIdentifier("keybox1");
- r1.setSignedInfo("1234".getBytes());
+ SignRequest.SignedInfo si1 = new SignRequest.SignedInfo();
+ si1.setValue("1234".getBytes());
+ r1.setSignedInfo(si1);
HashDataInput hdi = new HashDataInput() {
@Override
@@ -263,7 +269,9 @@ public class STALRequestBrokerTest {
List<STALRequest> requests2 = new ArrayList<STALRequest>();
SignRequest r2 = new SignRequest();
r2.setKeyIdentifier("keybox2");
- r2.setSignedInfo("6789".getBytes());
+ SignRequest.SignedInfo si2 = new SignRequest.SignedInfo();
+ si2.setValue("6789".getBytes());
+ r2.setSignedInfo(si2);
HashDataInput hdi2 = new HashDataInput() {
@Override