summaryrefslogtreecommitdiff
path: root/bkucommon/src/test/resources
diff options
context:
space:
mode:
authorAndreas Abraham <aabraham@iaik.tugraz.at>2018-04-23 09:48:33 +0200
committerAndreas Abraham <aabraham@iaik.tugraz.at>2018-04-23 09:48:33 +0200
commit9e24a02d80e13273ec5d1d4fa9b3a95d8ae486c2 (patch)
tree32decc21d7035250e02798733454868231036d8a /bkucommon/src/test/resources
parent6386fb8e6ba691bce0cf129e7da4324935a9b333 (diff)
parentb9ccb62d35a755efb505d426ce924d5a8fbe937a (diff)
downloadmocca-9e24a02d80e13273ec5d1d4fa9b3a95d8ae486c2.tar.gz
mocca-9e24a02d80e13273ec5d1d4fa9b3a95d8ae486c2.tar.bz2
mocca-9e24a02d80e13273ec5d1d4fa9b3a95d8ae486c2.zip
Merge branch 'fb-bulksignature'
Diffstat (limited to 'bkucommon/src/test/resources')
-rw-r--r--bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/bulksignaturerequest/BulkSignatureRequest.xml34
-rw-r--r--bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/bulksignaturerequest/BulkSignatureRequestWithReference.xml37
-rw-r--r--bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml9
3 files changed, 80 insertions, 0 deletions
diff --git a/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/bulksignaturerequest/BulkSignatureRequest.xml b/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/bulksignaturerequest/BulkSignatureRequest.xml
new file mode 100644
index 00000000..7fa39f57
--- /dev/null
+++ b/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/bulksignaturerequest/BulkSignatureRequest.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<sl:BulkRequest
+ xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" >
+ <sl:CreateSignatureRequest displayName="Urlaubsantrag &quot;Rössler&quot;">
+ <sl:CreateCMSSignatureRequest Structure="detached">
+ <sl:KeyboxIdentifier>SecureSignatureKeypair</sl:KeyboxIdentifier>
+ <sl:DataObject>
+ <sl:MetaInfo>
+ <sl:MimeType>text/plain</sl:MimeType>
+ </sl:MetaInfo>
+ <sl:Content Reference="">
+ <sl:Base64Content>QW5kIG5vdyB0byBzb21ldGhpbmcgY29tcGxldGx5IGRpZmZlcmVudA==
+ </sl:Base64Content>
+ </sl:Content>
+ </sl:DataObject>
+ </sl:CreateCMSSignatureRequest>
+ </sl:CreateSignatureRequest>
+ <sl:CreateSignatureRequest displayName="Krankmeldung &quot;Meyer&quot;">
+ <sl:CreateCMSSignatureRequest
+ xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"
+ Structure="detached">
+ <sl:KeyboxIdentifier>SecureSignatureKeypair</sl:KeyboxIdentifier>
+ <sl:DataObject>
+ <sl:MetaInfo>
+ <sl:MimeType>text/plain</sl:MimeType>
+ </sl:MetaInfo>
+ <sl:Content Reference="">
+ <sl:Base64Content>Vm9uIGRlciBTaWduYXR1ciB1bXNjaGxvc3NlbmUgRGF0ZW4u
+ </sl:Base64Content>
+ </sl:Content>
+ </sl:DataObject>
+ </sl:CreateCMSSignatureRequest>
+ </sl:CreateSignatureRequest>
+</sl:BulkRequest> \ No newline at end of file
diff --git a/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/bulksignaturerequest/BulkSignatureRequestWithReference.xml b/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/bulksignaturerequest/BulkSignatureRequestWithReference.xml
new file mode 100644
index 00000000..a506d50c
--- /dev/null
+++ b/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/bulksignaturerequest/BulkSignatureRequestWithReference.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<sl:BulkRequest
+ xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"
+ xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" >
+ <sl:CreateSignatureRequest displayName="Urlaubsantrag &quot;Rössler&quot;">
+ <sl:CreateCMSSignatureRequest
+ xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"
+ Structure="detached">
+ <sl:KeyboxIdentifier>SecureSignatureKeypair</sl:KeyboxIdentifier>
+ <sl:ReferenceObject>
+ <sl:MetaInfo>
+ <sl:MimeType>text/plain</sl:MimeType>
+ </sl:MetaInfo>
+ <sl:DigestAndRef>
+ <dsig:DigestMethod Algorithm="urn:oid:1.3.14.3.2.26"/>
+ <dsig:DigestValue>j6lwx3rvEPO0vKtMup4NbeVu8nk=</dsig:DigestValue>
+ </sl:DigestAndRef>
+ </sl:ReferenceObject>
+ </sl:CreateCMSSignatureRequest>
+ </sl:CreateSignatureRequest>
+ <sl:CreateSignatureRequest displayName="Krankmeldung &quot;Meyer&quot;">
+ <sl:CreateCMSSignatureRequest
+ xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"
+ Structure="detached">
+ <sl:KeyboxIdentifier>SecureSignatureKeypair</sl:KeyboxIdentifier>
+ <sl:ReferenceObject>
+ <sl:MetaInfo>
+ <sl:MimeType>text/plain</sl:MimeType>heis
+ </sl:MetaInfo>
+ <sl:DigestAndRef>
+ <dsig:DigestMethod Algorithm="urn:oid:1.3.14.3.2.26"/>
+ <dsig:DigestValue>j6lwx3rvEPO0vKtMup4NbeVu8nk=</dsig:DigestValue>
+ </sl:DigestAndRef>
+ </sl:ReferenceObject>
+ </sl:CreateCMSSignatureRequest>
+ </sl:CreateSignatureRequest>
+</sl:BulkRequest> \ No newline at end of file
diff --git a/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml b/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml
index fffabb47..9a76291c 100644
--- a/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml
+++ b/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml
@@ -119,6 +119,14 @@
value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
<constructor-arg value="CreateCMSSignatureRequest" />
</bean>
+ <bean id="bulkCommandFactory"
+ class="at.gv.egiz.bku.slcommands.impl.BulkCommandFactory"
+ parent="abstractCommandFactory" />
+ <bean id="bulkRequest" class="javax.xml.namespace.QName">
+ <constructor-arg
+ value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
+ <constructor-arg value="BulkRequest"/>
+ </bean>
<bean id="getStatusCommandFactory" class="at.gv.egiz.bku.slcommands.impl.GetStatusCommandFactory"
parent="abstractCommandFactory" />
<bean id="getStatusRequest" class="javax.xml.namespace.QName">
@@ -136,6 +144,7 @@
<entry key-ref="infoboxUpdateRequest" value-ref="infoboxUpdateCommandFactory" />
<entry key-ref="createXMLSignatureRequest" value-ref="createXMLSignatureCommandFactory" />
<entry key-ref="createCMSSignatureRequest" value-ref="createCMSSignatureCommandFactory" />
+ <entry key-ref="bulkRequest" value-ref="bulkCommandFactory" />
<entry key-ref="getStatusRequest" value-ref="getStatusCommandFactory" />
</map>
</property>