aboutsummaryrefslogtreecommitdiff
path: root/spss.slinterface/res/resources/stylesheets
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-11-20 08:44:42 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-11-20 08:44:42 +0000
commit9149618d9049d470d0423c4e896ab6c127eb6c02 (patch)
treec103a1aabc756b75ec76e435d13013ffa388f4c3 /spss.slinterface/res/resources/stylesheets
parent72819e05aa9db32ef828d9b35d8980a77d1bd76e (diff)
downloadmoa-id-spss-9149618d9049d470d0423c4e896ab6c127eb6c02.tar.gz
moa-id-spss-9149618d9049d470d0423c4e896ab6c127eb6c02.tar.bz2
moa-id-spss-9149618d9049d470d0423c4e896ab6c127eb6c02.zip
Erstellt.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@59 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.slinterface/res/resources/stylesheets')
-rw-r--r--spss.slinterface/res/resources/stylesheets/moa2sl.xsl96
-rw-r--r--spss.slinterface/res/resources/stylesheets/simpleVerReq.sl11.xml100
-rw-r--r--spss.slinterface/res/resources/stylesheets/simpleVerReq.sl12.locref.moa.xml1
-rw-r--r--spss.slinterface/res/resources/stylesheets/simpleVerReq.sl12.locref.xml20
-rw-r--r--spss.slinterface/res/resources/stylesheets/sl2moa.xsl218
-rw-r--r--spss.slinterface/res/resources/stylesheets/verifyresponse.moa.sl.xml25
-rw-r--r--spss.slinterface/res/resources/stylesheets/verifyresponse.moa.xml46
7 files changed, 506 insertions, 0 deletions
diff --git a/spss.slinterface/res/resources/stylesheets/moa2sl.xsl b/spss.slinterface/res/resources/stylesheets/moa2sl.xsl
new file mode 100644
index 000000000..2e3a09655
--- /dev/null
+++ b/spss.slinterface/res/resources/stylesheets/moa2sl.xsl
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xmlspysamplexml E:\cio\projekte\basismodule\slinterface\res\resources\stylesheets\verifyresponse.moa.xml?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sl11="http://www.buergerkarte.at/namespaces/securitylayer/20020831#" xmlns:sl10="http://www.buergerkarte.at/namespaces/securitylayer/20020225#" xmlns:moa="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
+ <!-- ################################################################################################# -->
+ <!-- # Templates -->
+ <!-- ################################################################################################# -->
+ <!-- =================================================================================================== -->
+ <!-- Template für / -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="*"/>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template für moa:VerifyXMLSignatureResponse -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="moa:VerifyXMLSignatureResponse">
+ <sl11:VerifyXMLSignatureResponse>
+ <xsl:apply-templates select="moa:SignerInfo"/>
+ <sl11:SignatureCheck>
+ <xsl:call-template name="checkResult">
+ <xsl:with-param name="checkElem" select="moa:SignatureCheck"/>
+ </xsl:call-template>
+ </sl11:SignatureCheck>
+ <xsl:if test="./moa:SignatureManifestCheck">
+ <sl11:SignatureManifestCheck>
+ <xsl:call-template name="checkResult">
+ <xsl:with-param name="checkElem" select="moa:SignatureManifestCheck"/>
+ </xsl:call-template>
+ </sl11:SignatureManifestCheck>
+ </xsl:if>
+ <xsl:if test="./moa:XMLDSIGManifestCheck">
+ <sl11:XMLDSIGManifestCheck>
+ <xsl:call-template name="checkResult">
+ <xsl:with-param name="checkElem" select="moa:XMLDSIGManifestCheck"/>
+ </xsl:call-template>
+ </sl11:XMLDSIGManifestCheck>
+ </xsl:if>
+ <sl11:CertificateCheck>
+ <xsl:call-template name="checkResult">
+ <xsl:with-param name="checkElem" select="moa:CertificateCheck"/>
+ </xsl:call-template>
+ </sl11:CertificateCheck>
+ </sl11:VerifyXMLSignatureResponse>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template für moa:SignerInfo -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="moa:SignerInfo">
+ <sl11:SignerInfo>
+ <xsl:for-each select="*">
+ <xsl:choose>
+ <xsl:when test="namespace-uri(.) = 'http://reference.e-government.gv.at/namespace/moa/20020822#'">
+ <!-- suppress moa elements -->
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:copy-of select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ </sl11:SignerInfo>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template für moa:CheckResultType, moa:ReferencesCheckResultType, moa:ManifestRefsCheckResultType -->
+ <!-- =================================================================================================== -->
+ <xsl:template name="checkResult">
+ <xsl:param name="checkElem">default</xsl:param>
+ <xsl:param name="checkType">default</xsl:param>
+ <sl10:Code>
+ <xsl:value-of select="$checkElem/moa:Code/child::node()"/>
+ </sl10:Code>
+ <sl10:Info>
+ <xsl:for-each select="$checkElem/moa:Info/child::node()">
+ <xsl:choose>
+ <xsl:when test="namespace-uri(.) = 'http://reference.e-government.gv.at/namespace/moa/20020822#'">
+ <xsl:choose>
+ <xsl:when test="local-name(.) = 'FailedReference'">
+ <sl11:FailedReference>
+ <xsl:value-of select="./node()"/>
+ </sl11:FailedReference>
+ </xsl:when>
+ <xsl:when test="local-name(.) = 'ReferringSigReference'">
+ <sl11:ReferringSigReference>
+ <xsl:value-of select="./node()"/>
+ </sl11:ReferringSigReference>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:copy-of select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ </sl10:Info>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/spss.slinterface/res/resources/stylesheets/simpleVerReq.sl11.xml b/spss.slinterface/res/resources/stylesheets/simpleVerReq.sl11.xml
new file mode 100644
index 000000000..78180c2c3
--- /dev/null
+++ b/spss.slinterface/res/resources/stylesheets/simpleVerReq.sl11.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Gregor Karlinger (Bundeskanzleramt) -->
+<sl11:VerifyXMLSignatureRequest xmlns:sl10="http://www.buergerkarte.at/namespaces/securitylayer/20020225#" xmlns:sl11="http://www.buergerkarte.at/namespaces/securitylayer/20020831#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.buergerkarte.at/namespaces/securitylayer/20020831#
+schemas\Core.20020831.xsd">
+ <sl11:SignatureInfo>
+ <sl11:SignatureEnvironment>
+ <sl10:XMLContent>
+ <dsig:Signature Id="HS_signature" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:SignedInfo>
+ <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
+ <dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
+ <dsig:Reference Id="reference-data-1" URI="#signed-data">
+ <dsig:Transforms>
+ <dsig:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
+ <xf2:XPath Filter="intersect" xmlns:xf2="http://www.w3.org/2002/06/xmldsig-filter2">id(&apos;signed-data&apos;)/node()</xf2:XPath>
+ </dsig:Transform>
+ </dsig:Transforms>
+ <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <dsig:DigestValue>aylv7lNNes2pI022g7zfY1AOUmI=</dsig:DigestValue>
+ </dsig:Reference>
+ <dsig:Reference Type="http://uri.etsi.org/01903/v1.1.1#SignedProperties" URI="#refetsi">
+ <dsig:Transforms>
+ <dsig:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
+ <xf2:XPath Filter="intersect" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#" xmlns:xf2="http://www.w3.org/2002/06/xmldsig-filter2">id(&apos;refetsi&apos;)/etsi:QualifyingProperties/etsi:SignedProperties</xf2:XPath>
+ </dsig:Transform>
+ </dsig:Transforms>
+ <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <dsig:DigestValue>rYJgLYFMHaAcQjIlwSpFqXp5d1A=</dsig:DigestValue>
+ </dsig:Reference>
+ </dsig:SignedInfo>
+ <dsig:SignatureValue>VnwHohi/ootc3mIWh2WnInNvjA+/kJOr5bDRl5no1CMsNA+1qhoVZCErHt75gp9m
+O0MPBAcl7KfvkDTbHuMR1oG1Z4RUh52cE5oQietiwHGQIeuWEJ+IGcVcnkoayz4z
+2tQLkdotBhV0mCmkQjyADNn8P4H5yHNsdPq0joqy+2Q=</dsig:SignatureValue>
+ <dsig:KeyInfo>
+ <dsig:X509Data>
+ <dsig:X509Certificate>MIIE4DCCA8igAwIBAgICGEowDQYJKoZIhvcNAQEFBQAwgZcxCzAJBgNVBAYTAkFU
+MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt
+IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxHjAcBgNVBAsTFWEtc2lnbi1QcmVt
+aXVtLVNpZy0wMTEeMBwGA1UEAxMVYS1zaWduLVByZW1pdW0tU2lnLTAxMB4XDTAz
+MDEyNzEwMTQxM1oXDTA2MDEyNzEwMTQxM1owZDELMAkGA1UEBhMCQVQxGTAXBgNV
+BAMTEEdyZWdvciBLYXJsaW5nZXIxEjAQBgNVBAQTCUthcmxpbmdlcjEPMA0GA1UE
+KhMGR3JlZ29yMRUwEwYDVQQFEww5MTM4OTU1NTI5MTEwgZ8wDQYJKoZIhvcNAQEB
+BQADgY0AMIGJAoGBANrnnGN6wiOyq/rskasBf/Tz4grEKI+NBAuDgO5aqObNDBAe
+PISMQ2nFNX2nzoSNx7j7esl4KdgySmJkZWs/nErpE5fB8lH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jUgAngE
+oGYK9ngWu7Rr1gvy4lvOwpGGRpz2MP3nU9H2IfKk36n6hhVpc3EC6aF02RdIBD+x
+8VxVsA==</dsig:X509Certificate>
+ </dsig:X509Data>
+ </dsig:KeyInfo>
+ <dsig:Object Id="signed-data">Das ist ein Test.</dsig:Object>
+ <dsig:Object Id="refetsi">
+ <etsi:QualifyingProperties Target="#HS_signature" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#">
+ <etsi:SignedProperties>
+ <etsi:SignedSignatureProperties>
+ <etsi:SigningTime>2003-08-14T12:53:27Z</etsi:SigningTime>
+ <etsi:SigningCertificate>
+ <etsi:Cert>
+ <etsi:CertDigest>
+ <etsi:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <etsi:DigestValue>wl/zuayZxKuYlH2G2FQCTcosSSg=</etsi:DigestValue>
+ </etsi:CertDigest>
+ <etsi:IssuerSerial>
+ <dsig:X509IssuerName>CN=a-sign-Premium-Sig-01,OU=a-sign-Premium-Sig-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>6218</dsig:X509SerialNumber>
+ </etsi:IssuerSerial>
+ </etsi:Cert>
+ </etsi:SigningCertificate>
+ <etsi:SignaturePolicyIdentifier>
+ <etsi:SignaturePolicyImplied/>
+ </etsi:SignaturePolicyIdentifier>
+ </etsi:SignedSignatureProperties>
+ <etsi:SignedDataObjectProperties>
+ <etsi:DataObjectFormat ObjectReference="#reference-data-1">
+ <etsi:MimeType>text/plain</etsi:MimeType>
+ </etsi:DataObjectFormat>
+ </etsi:SignedDataObjectProperties>
+ </etsi:SignedProperties>
+ </etsi:QualifyingProperties>
+ </dsig:Object>
+ </dsig:Signature>
+ </sl10:XMLContent>
+ </sl11:SignatureEnvironment>
+ <sl11:SignatureLocation>/dsig:Signature</sl11:SignatureLocation>
+ </sl11:SignatureInfo>
+</sl11:VerifyXMLSignatureRequest>
diff --git a/spss.slinterface/res/resources/stylesheets/simpleVerReq.sl12.locref.moa.xml b/spss.slinterface/res/resources/stylesheets/simpleVerReq.sl12.locref.moa.xml
new file mode 100644
index 000000000..65e4f5de2
--- /dev/null
+++ b/spss.slinterface/res/resources/stylesheets/simpleVerReq.sl12.locref.moa.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><moa:VerifyXMLSignatureRequest xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:moa="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:sl10="http://www.buergerkarte.at/namespaces/securitylayer/20020225#" xmlns:sl11="http://www.buergerkarte.at/namespaces/securitylayer/20020831#" xmlns:sl12="http://www.buergerkarte.at/namespaces/securitylayer/20031231#"><moa:DateTime>2003-03-24T12:41:54+01:00</moa:DateTime><moa:VerifySignatureInfo><moa:VerifySignatureEnvironment><moa:LocRefContent>http://anywhere.com/signature.xml</moa:LocRefContent></moa:VerifySignatureEnvironment><moa:VerifySignatureLocation>/dsig:Signature</moa:VerifySignatureLocation></moa:VerifySignatureInfo><moa:MetaInfo><moa:MimeType>text/xml</moa:MimeType><moa:Description>description</moa:Description></moa:MetaInfo><moa:Content Reference="supplement.xml"><moa:LocRefContent>http://anywhere.com/supplement.xml</moa:LocRefContent></moa:Content><moa:ReturnHashInputData/><moa:Trustprofile>TrustProfile1</moa:Trustprofile></moa:VerifyXMLSignatureRequest> \ No newline at end of file
diff --git a/spss.slinterface/res/resources/stylesheets/simpleVerReq.sl12.locref.xml b/spss.slinterface/res/resources/stylesheets/simpleVerReq.sl12.locref.xml
new file mode 100644
index 000000000..25194465d
--- /dev/null
+++ b/spss.slinterface/res/resources/stylesheets/simpleVerReq.sl12.locref.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Gregor Karlinger (Bundeskanzleramt) -->
+<sl12:VerifyXMLSignatureRequest xmlns:sl10="http://www.buergerkarte.at/namespaces/securitylayer/20020225#" xmlns:sl12="http://www.buergerkarte.at/namespaces/securitylayer/20031231#" xmlns:sl11="http://www.buergerkarte.at/namespaces/securitylayer/20020831#">
+ <sl12:DateTime>2003-03-24T12:41:54+01:00</sl12:DateTime>
+ <sl12:SignatureInfo>
+ <sl12:SignatureEnvironment>
+ <sl12:LocRefContent>http://anywhere.com/signature.xml</sl12:LocRefContent>
+ </sl12:SignatureEnvironment>
+ <sl12:SignatureLocation Test="abc" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">/dsig:Signature</sl12:SignatureLocation>
+ </sl12:SignatureInfo>
+ <sl12:Supplement>
+ <sl12:MetaInfo>
+ <sl10:MimeType>text/xml</sl10:MimeType>
+ <sl10:Description>description</sl10:Description>
+ </sl12:MetaInfo>
+ <sl12:Content Reference="supplement.xml">
+ <sl12:LocRefContent>http://anywhere.com/supplement.xml</sl12:LocRefContent>
+ </sl12:Content>
+ </sl12:Supplement>
+</sl12:VerifyXMLSignatureRequest>
diff --git a/spss.slinterface/res/resources/stylesheets/sl2moa.xsl b/spss.slinterface/res/resources/stylesheets/sl2moa.xsl
new file mode 100644
index 000000000..a2c43527f
--- /dev/null
+++ b/spss.slinterface/res/resources/stylesheets/sl2moa.xsl
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xmlspysamplexml E:\cio\projekte\basismodule\slinterface\res\resources\stylesheets\simpleVerReq.sl12.locref.xml?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sl12="http://www.buergerkarte.at/namespaces/securitylayer/20031231#" xmlns:sl11="http://www.buergerkarte.at/namespaces/securitylayer/20020831#" xmlns:sl10="http://www.buergerkarte.at/namespaces/securitylayer/20020225#" xmlns:moa="http://reference.e-government.gv.at/namespace/moa/20020822#">
+ <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
+ <xsl:variable name="trustProfileId">TrustProfile1</xsl:variable>
+ <!-- ################################################################################################# -->
+ <!-- # Templates -->
+ <!-- ################################################################################################# -->
+ <!-- =================================================================================================== -->
+ <!-- Template für / -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="/">
+ <xsl:apply-templates select="*"/>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template für sl11:VerifyXMLSignatureRequest -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="sl11:VerifyXMLSignatureRequest">
+ <moa:VerifyXMLSignatureRequest>
+ <xsl:call-template name="copyNSDeclarations">
+ <xsl:with-param name="sourceElem" select="sl11:VerifyXMLSignatureRequest"/>
+ </xsl:call-template>
+ <xsl:apply-templates select="sl11:DateTime"/>
+ <xsl:apply-templates select="sl11:SignatureInfo"/>
+ <xsl:apply-templates select="sl11:Supplement"/>
+ <moa:ReturnHashInputData/>
+ <moa:TrustProfileID>
+ <xsl:copy-of select="$trustProfileId"/>
+ </moa:TrustProfileID>
+ </moa:VerifyXMLSignatureRequest>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template für sl12:VerifyXMLSignatureRequest -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="sl12:VerifyXMLSignatureRequest">
+ <moa:VerifyXMLSignatureRequest>
+ <xsl:call-template name="copyNSDeclarations">
+ <xsl:with-param name="sourceElem" select="sl12:VerifyXMLSignatureRequest"/>
+ </xsl:call-template>
+ <xsl:apply-templates select="sl12:DateTime"/>
+ <xsl:apply-templates select="sl12:SignatureInfo"/>
+ <xsl:apply-templates select="sl12:Supplement"/>
+ <moa:ReturnHashInputData/>
+ <moa:Trustprofile>
+ <xsl:copy-of select="$trustProfileId"/>
+ </moa:Trustprofile>
+ </moa:VerifyXMLSignatureRequest>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template für sl11:DateTime -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="sl11:DateTime">
+ <moa:DateTime>
+ <xsl:value-of select="."/>
+ </moa:DateTime>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template für sl12:DateTime -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="sl12:DateTime">
+ <moa:DateTime>
+ <xsl:value-of select="."/>
+ </moa:DateTime>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template for sl11:SignatureInfo -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="sl11:SignatureInfo">
+ <moa:VerifySignatureInfo>
+ <moa:VerifySignatureEnvironment>
+ <xsl:call-template name="content10">
+ <xsl:with-param name="contentElem" select="sl11:SignatureEnvironment"/>
+ </xsl:call-template>
+ </moa:VerifySignatureEnvironment>
+ <moa:VerifySignatureLocation xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <!-- Explicit namespace decl xmlns:dsig above is a workaround since damn Xalan does not correctly copy the namespace declarations -->
+ <xsl:call-template name="copyNSDeclarations">
+ <xsl:with-param name="sourceElem" select="./sl11:SignatureLocation"/>
+ </xsl:call-template>
+ <xsl:value-of select="sl11:SignatureLocation/node()"/>
+ </moa:VerifySignatureLocation>
+ </moa:VerifySignatureInfo>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template for sl12:SignatureInfo -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="sl12:SignatureInfo">
+ <moa:VerifySignatureInfo>
+ <moa:VerifySignatureEnvironment>
+ <xsl:call-template name="content12">
+ <xsl:with-param name="contentElem" select="sl12:SignatureEnvironment"/>
+ </xsl:call-template>
+ </moa:VerifySignatureEnvironment>
+ <moa:VerifySignatureLocation xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <!-- Explicit namespace decl xmlns:dsig above is a workaround since damn Xalan does not correctly copy the namespace declarations -->
+ <xsl:call-template name="copyNSDeclarations">
+ <xsl:with-param name="sourceElem" select="./sl12:SignatureLocation"/>
+ </xsl:call-template>
+ <xsl:value-of select="sl12:SignatureLocation/node()"/>
+ </moa:VerifySignatureLocation>
+ </moa:VerifySignatureInfo>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template for sl11:Supplement -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="sl11:Supplement">
+ <xsl:if test="sl10:MetaInfo">
+ <moa:MetaInfo>
+ <xsl:call-template name="metaInfo">
+ <xsl:with-param name="metaInfoElem" select="sl10:MetaInfo"/>
+ </xsl:call-template>
+ </moa:MetaInfo>
+ </xsl:if>
+ <moa:Content>
+ <xsl:call-template name="content10">
+ <xsl:with-param name="contentElem" select="sl10:Content"/>
+ </xsl:call-template>
+ </moa:Content>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template for sl12:Supplement -->
+ <!-- =================================================================================================== -->
+ <xsl:template match="sl12:Supplement">
+ <xsl:if test="sl12:MetaInfo">
+ <moa:MetaInfo>
+ <xsl:call-template name="metaInfo">
+ <xsl:with-param name="metaInfoElem" select="sl12:MetaInfo"/>
+ </xsl:call-template>
+ </moa:MetaInfo>
+ </xsl:if>
+ <moa:Content>
+ <xsl:call-template name="content12">
+ <xsl:with-param name="contentElem" select="sl12:Content"/>
+ </xsl:call-template>
+ </moa:Content>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template for sl10:ContentOptionalRefType and sl10:ContentRequiredRefType -->
+ <!-- =================================================================================================== -->
+ <xsl:template name="content10">
+ <xsl:param name="contentElem">default</xsl:param>
+ <xsl:if test="$contentElem/@Reference">
+ <xsl:attribute name="Reference"><xsl:value-of select="$contentElem/@Reference"/></xsl:attribute>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$contentElem/sl10:Base64Content">
+ <moa:Base64Content>
+ <xsl:value-of select="$contentElem/sl10:Base64Content/node()"/>
+ </moa:Base64Content>
+ </xsl:when>
+ <xsl:otherwise>
+ <moa:XMLContent>
+ <xsl:if test="$contentElem/sl10:XMLContent/@xml:space">
+ <xsl:attribute name="xml:space"><xsl:value-of select="$contentElem/sl10:XMLContent/@xml:space"/></xsl:attribute>
+ </xsl:if>
+ <xsl:copy-of select="$contentElem/sl10:XMLContent/node()"/>
+ </moa:XMLContent>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template for sl12:ContentOptionalRefType and sl12:ContentRequiredRefType -->
+ <!-- =================================================================================================== -->
+ <xsl:template name="content12">
+ <xsl:param name="contentElem">default</xsl:param>
+ <xsl:if test="$contentElem/@Reference">
+ <xsl:attribute name="Reference"><xsl:value-of select="$contentElem/@Reference"/></xsl:attribute>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$contentElem/sl12:Base64Content">
+ <moa:Base64Content>
+ <xsl:value-of select="$contentElem/sl12:Base64Content/node()"/>
+ </moa:Base64Content>
+ </xsl:when>
+ <xsl:when test="$contentElem/sl12:LocRefContent">
+ <moa:LocRefContent>
+ <xsl:value-of select="$contentElem/sl12:LocRefContent/node()"/>
+ </moa:LocRefContent>
+ </xsl:when>
+ <xsl:otherwise>
+ <moa:XMLContent>
+ <xsl:if test="$contentElem/sl12:XMLContent/@xml:space">
+ <xsl:attribute name="xml:space"><xsl:value-of select="$contentElem/sl12:XMLContent/@xml:space"/></xsl:attribute>
+ </xsl:if>
+ <xsl:copy-of select="$contentElem/sl12:XMLContent/node()"/>
+ </moa:XMLContent>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template for sl10:MetaInfoType -->
+ <!-- =================================================================================================== -->
+ <xsl:template name="metaInfo">
+ <xsl:param name="metaInfoElem">default</xsl:param>
+ <moa:MimeType>
+ <xsl:value-of select="$metaInfoElem/sl10:MimeType/node()"/>
+ </moa:MimeType>
+ <xsl:if test="$metaInfoElem/sl10:Description">
+ <moa:Description>
+ <xsl:value-of select="$metaInfoElem/sl10:Description/node()"/>
+ </moa:Description>
+ </xsl:if>
+ <xsl:if test="$metaInfoElem/*[not(self::sl10:MimeType or self::sl10:Description)]">
+ <xsl:copy-of select="$metaInfoElem/*[not(self::sl10:MimeType or self::sl10:Description)]"/>
+ </xsl:if>
+ </xsl:template>
+ <!-- =================================================================================================== -->
+ <!-- Template for copying all namespace declarations of an element -->
+ <!-- =================================================================================================== -->
+ <xsl:template name="copyNSDeclarations">
+ <xsl:param name="sourceElem">default</xsl:param>
+ <xsl:for-each select="$sourceElem/namespace::*">
+ <xsl:variable name="currentNodeName" select="name(.)"/>
+ <xsl:variable name="currentNodeValue" select="string(.)"/>
+ <xsl:attribute name="xmlns:{$currentNodeName}"><xsl:copy-of select="$currentNodeValue"></xsl:copy-of></xsl:attribute>
+ </xsl:for-each>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/spss.slinterface/res/resources/stylesheets/verifyresponse.moa.sl.xml b/spss.slinterface/res/resources/stylesheets/verifyresponse.moa.sl.xml
new file mode 100644
index 000000000..8033f8dae
--- /dev/null
+++ b/spss.slinterface/res/resources/stylesheets/verifyresponse.moa.sl.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><sl11:VerifyXMLSignatureResponse xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:moa="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:sl10="http://www.buergerkarte.at/namespaces/securitylayer/20020225#" xmlns:sl11="http://www.buergerkarte.at/namespaces/securitylayer/20020831#"><sl11:SignerInfo><dsig:X509Data xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"><dsig:X509SubjectName>CN=Isolde B\C3\BCrgerin,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509SubjectName><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName><dsig:X509SerialNumber>1044289238331</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509Certificate>MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSY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SMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m
+zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL
+o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT
+V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1</dsig:X509Certificate></dsig:X509Data></sl11:SignerInfo><sl11:SignatureCheck><sl10:Code>1</sl10:Code><sl10:Info>
+ Text1<sl11:FailedReference>0</sl11:FailedReference>Text2<sl11:FailedReference>1</sl11:FailedReference></sl10:Info></sl11:SignatureCheck><sl11:SignatureManifestCheck><sl10:Code>2</sl10:Code><sl10:Info>
+ Text1<sl11:FailedReference>0</sl11:FailedReference>Text2<sl11:FailedReference>1</sl11:FailedReference></sl10:Info></sl11:SignatureManifestCheck><sl11:XMLDSIGManifestCheck><sl10:Code>2</sl10:Code><sl10:Info>
+ Text1<sl11:FailedReference>0</sl11:FailedReference>Text2<sl11:FailedReference>1</sl11:FailedReference>
+ Text3<sl11:ReferringSigReference>1</sl11:ReferringSigReference></sl10:Info></sl11:XMLDSIGManifestCheck><sl11:CertificateCheck><sl10:Code>3</sl10:Code><sl10:Info>Text</sl10:Info></sl11:CertificateCheck></sl11:VerifyXMLSignatureResponse> \ No newline at end of file
diff --git a/spss.slinterface/res/resources/stylesheets/verifyresponse.moa.xml b/spss.slinterface/res/resources/stylesheets/verifyresponse.moa.xml
new file mode 100644
index 000000000..d591997ed
--- /dev/null
+++ b/spss.slinterface/res/resources/stylesheets/verifyresponse.moa.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyXMLSignatureResponse xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><SignerInfo><dsig:X509Data><dsig:X509SubjectName>CN=Isolde B\C3\BCrgerin,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509SubjectName><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName><dsig:X509SerialNumber>1044289238331</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509Certificate>MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE
+CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh
+bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE
+AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow
+gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD
+SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp
+b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk
+ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV
+IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t
+ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx
+26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC
+MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe
+MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh
+dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8
+BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf
+dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV
+HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m
+zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL
+o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT
+V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1</dsig:X509Certificate></dsig:X509Data></SignerInfo>
+ <SignatureCheck>
+ <Code>1</Code>
+ <Info>
+ Text1<FailedReference>0</FailedReference>Text2<FailedReference>1</FailedReference>
+ </Info>
+ </SignatureCheck>
+ <SignatureManifestCheck>
+ <Code>2</Code>
+ <Info>
+ Text1<FailedReference>0</FailedReference>Text2<FailedReference>1</FailedReference>
+ </Info>
+ </SignatureManifestCheck>
+ <XMLDSIGManifestCheck>
+ <Code>2</Code>
+ <Info>
+ Text1<FailedReference>0</FailedReference>Text2<FailedReference>1</FailedReference>
+ Text3<ReferringSigReference>1</ReferringSigReference>
+ </Info>
+ </XMLDSIGManifestCheck>
+ <CertificateCheck>
+ <Code>3</Code>
+ <Info>Text</Info>
+ </CertificateCheck>
+</VerifyXMLSignatureResponse> \ No newline at end of file