diff options
Diffstat (limited to 'bkucommon/src/test/resources/at/gv/egiz/bku')
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 "Rössler""> + <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 "Meyer""> + <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 "Rössler""> + <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 "Meyer""> + <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> |