diff options
Diffstat (limited to 'mocca-1.2.11/utils/src/test/requests')
10 files changed, 0 insertions, 533 deletions
diff --git a/mocca-1.2.11/utils/src/test/requests/CreateCMSSignatureRequest01.xml b/mocca-1.2.11/utils/src/test/requests/CreateCMSSignatureRequest01.xml deleted file mode 100644 index 1406c1dd..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateCMSSignatureRequest01.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CreateCMSSignatureRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.buergerkarte.at/namespaces/securitylayer/1.2# file:/home/clemens/IAIK/BKU2/svn/bku/utils/src/main/schema/Core-1.2.xsd" Structure="detached"> - <KeyboxIdentifier></KeyboxIdentifier> - <DataObject> - <MetaInfo> - <MimeType></MimeType> - </MetaInfo> - <Content> - <Base64Content></Base64Content> - </Content> - </DataObject> -</CreateCMSSignatureRequest> diff --git a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest01.xml b/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest01.xml deleted file mode 100644 index 72633ff7..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest01.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<CreateXMLSignatureRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" - 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/1.2# file:/home/clemens/IAIK/BKU2/SLCore-1.2.xsd"> - <KeyboxIdentifier/> - <DataObjectInfo Structure="enveloping"> - <DataObject> - <XMLContent> - <PayloadRoot> - <!-- whitespaces are preserved --> - <PayloadChild>line - feed</PayloadChild> - </PayloadRoot> - </XMLContent> - </DataObject> - <TransformsInfo> - <dsig:Transforms> - <dsig:Transform Algorithm="transformalgorithm"/> - </dsig:Transforms> - <FinalDataMetaInfo> - <MimeType/> - <Description/> - </FinalDataMetaInfo> - </TransformsInfo> - </DataObjectInfo> - </CreateXMLSignatureRequest> diff --git a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest01_bound.xml b/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest01_bound.xml deleted file mode 100644 index 7cd28d68..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest01_bound.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CreateXMLSignatureRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"><KeyboxIdentifier></KeyboxIdentifier><DataObjectInfo Structure="enveloping"><DataObject><XMLContent> - - </XMLContent></DataObject><TransformsInfo><ns2:Transforms><ns2:Transform Algorithm="transformalgorithm"></ns2:Transform></ns2:Transforms><FinalDataMetaInfo><MimeType></MimeType><Description></Description></FinalDataMetaInfo></TransformsInfo></DataObjectInfo></CreateXMLSignatureRequest>
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest01_redirect.xml b/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest01_redirect.xml deleted file mode 100644 index b6b1cdb8..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest01_redirect.xml +++ /dev/null @@ -1,5 +0,0 @@ -<PayloadRoot> - <!-- whitespaces are preserved --> - <PayloadChild>line - feed</PayloadChild> - </PayloadRoot>
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest02.xml b/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest02.xml deleted file mode 100644 index 943722b1..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest02.xml +++ /dev/null @@ -1,304 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<sl:CreateXMLSignatureRequest xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" - xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"> - <sl:KeyboxIdentifier>SecureSignatureKeypair</sl:KeyboxIdentifier> - <sl:DataObjectInfo Structure="detached"> - <sl:DataObject Reference=""/> - <sl:TransformsInfo> - <dsig:Transforms> - <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> - <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> - <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" - xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#"> - <xsl:template match="/" xmlns="http://www.w3.org/1999/xhtml"> - <html> - <head> - <title>Signatur der Anmeldedaten</title> - <style type="text/css" media="screen"> - .boldstyle { font-weight: bold; } - .italicstyle { font-style: italic; } - .annotationstyle { font-size: 0.8em; } - </style> - </head> - <body> - <h1>Signatur der Anmeldedaten</h1> - <p/> - <h4>Mit meiner elektronischen Signatur beantrage ich, <span - class="boldstyle"> - <xsl:value-of select="//@Issuer"/> - </span>, geboren am <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,9,2)" - />. <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,6,2)" - />. <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,1,4)" - />, <xsl:if - test="//saml:Attribute[@AttributeName='OIDTextualDescription']" - > in der Rolle als <xsl:value-of - select="//saml:Attribute[@AttributeName='OIDTextualDescription']/saml:AttributeValue" - /> (OID***= <xsl:value-of - select="//saml:Attribute[@AttributeName='OID']/saml:AttributeValue" - />), </xsl:if> den Zugang zur gesicherten Anwendung. </h4> - <p/> - <h4>Datum und Uhrzeit: <xsl:value-of - select="substring(//@IssueInstant,9,2)"/>. <xsl:value-of - select="substring(//@IssueInstant,6,2)"/>. <xsl:value-of - select="substring(//@IssueInstant,1,4)"/>, <xsl:value-of - select="substring(//@IssueInstant,12,2)"/>: - <xsl:value-of select="substring(//@IssueInstant,15,2)" - />: <xsl:value-of select="substring(//@IssueInstant,18,2)"/> - </h4> - <xsl:if test="//saml:Attribute[@AttributeName='HPI']"> - <h4>HPI(**): <xsl:value-of - select="//saml:Attribute[@AttributeName='HPI']/saml:AttributeValue" - /></h4> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> - <h4>wbPK(*): <xsl:value-of - select="//saml:Attribute[@AttributeName='wbPK']/saml:AttributeValue/pr:Identification/pr:Value" - /></h4> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='MandatorName']"> - <hr/> - <h4>Ich bin weiters ermächtigt als <xsl:value-of - select="//saml:Attribute[@AttributeName='RepresentationType']/saml:AttributeValue/text()" - /> von <xsl:value-of - select="//saml:Attribute[@AttributeName='MandatorName']/saml:AttributeValue/text()"/> - <xsl:if - test="//saml:Attribute[@AttributeName='MandatorDateOfBirth']" - >, geboren am <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,9,2)" - />. <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,6,2)" - />. <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,1,4)" - /> - </xsl:if> - <xsl:if - test="//saml:Attribute[@AttributeName='MandatorDomainIdentifier']" - >, <xsl:value-of - select="//saml:Attribute[@AttributeName='MandatorDomainIdentifier']/saml:AttributeValue/text()" - /> - </xsl:if>, in deren Auftrag zu handeln. <xsl:if - test="//saml:Attribute[@AttributeName='MandatorWbpk']"> - <h4>wbPK(*) des Vollmachtgebers: <xsl:value-of - select="//saml:Attribute[@AttributeName='MandatorWbpk']/saml:AttributeValue/text()" - /></h4> - </xsl:if> - </h4> - <p/> - </xsl:if> - <xsl:choose> - <xsl:when test="//saml:Attribute[@AttributeName='OID']"> - <p/> - <hr/> - </xsl:when> - <xsl:when test="//saml:Attribute[@AttributeName='HPI']"> - <p/> - <hr/> - </xsl:when> - <xsl:when test="//saml:Attribute[@AttributeName='wbPK']"> - <p/> - <hr/> - </xsl:when> - </xsl:choose> - <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> - <div class="annotationstyle">(*) wbPK: Das <span - class="italicstyle">wirtschaftsbereichsspezifische - Personenkennzeichen</span> wird aus den jeweiligen - Stammzahlen des Bürgers und des Wirtschaftsunternehmens - berechnet und ermöglicht eine eindeutige Zuordnung des - Bürgers zum Wirtschaftsunternehmen.</div> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='HPI']"> - <div class="annotationstyle">(**) HPI: Der <span - class="italicstyle">eHealth Professional - Identifier</span> wird aus den jeweiligen Stammzahlen - der Gesundheitsdiensteanbieterinnen / - Gesundheitsdiensteanbieter berechnet und ermöglicht eine - eindeutige Zuordnung der Gesundheitsdiensteanbieterin / - des Gesundheitsdiensteanbieters im - Gesundheitsbereich.</div> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='OID']"> - <div class="annotationstyle">(***) OID: <span - class="italicstyle">Object Identifier</span> sind - standardisierte Objekt-Bezeichner und beschreiben - eindeutig die Rollen des GDA-Token Inhabers.</div> - </xsl:if> - </body> - </html> - </xsl:template> - </xsl:stylesheet> - </dsig:Transform> - <dsig:Transform - Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/> - </dsig:Transforms> - <sl:FinalDataMetaInfo> - <sl:MimeType>application/xhtml+xml</sl:MimeType> - </sl:FinalDataMetaInfo> - </sl:TransformsInfo> - <sl:TransformsInfo> - <dsig:Transforms> - <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> - <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> - <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" - xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#"> - <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> - <xsl:template match="/" xmlns="http://www.w3.org/1999/xhtml"> - <html> - <head> - <title>Signatur der Anmeldedaten</title> - </head> - <body> - <h1>Signatur der Anmeldedaten</h1> - <p/> - <h4>Mit meiner elektronischen Signatur beantrage ich, <b> - <xsl:value-of select="//@Issuer"/> - </b>, geboren am <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,9,2)" - />. <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,6,2)" - />. <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,1,4)" - />, <xsl:if - test="//saml:Attribute[@AttributeName='OIDTextualDescription']" - > in der Rolle als <xsl:value-of - select="//saml:Attribute[@AttributeName='OIDTextualDescription']/saml:AttributeValue" - /> (OID***= <xsl:value-of - select="//saml:Attribute[@AttributeName='OID']/saml:AttributeValue" - />), </xsl:if> den Zugang zur gesicherten Anwendung. </h4> - <p/> - <h4>Datum und Uhrzeit: <xsl:value-of - select="substring(//@IssueInstant,9,2)"/>. <xsl:value-of - select="substring(//@IssueInstant,6,2)"/>. <xsl:value-of - select="substring(//@IssueInstant,1,4)"/>, <xsl:value-of - select="substring(//@IssueInstant,12,2)"/>: - <xsl:value-of select="substring(//@IssueInstant,15,2)" - />: <xsl:value-of select="substring(//@IssueInstant,18,2)"/> - </h4> - <xsl:if test="//saml:Attribute[@AttributeName='HPI']"> - <h4>HPI(**): <xsl:value-of - select="//saml:Attribute[@AttributeName='HPI']/saml:AttributeValue" - /></h4> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> - <h4>wbPK(*): <xsl:value-of - select="//saml:Attribute[@AttributeName='wbPK']/saml:AttributeValue/pr:Identification/pr:Value" - /></h4> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='MandatorName']"> - <hr/> - <h4>Ich bin weiters ermächtigt als <xsl:value-of - select="//saml:Attribute[@AttributeName='RepresentationType']/saml:AttributeValue/text()" - /> von <xsl:value-of - select="//saml:Attribute[@AttributeName='MandatorName']/saml:AttributeValue/text()"/> - <xsl:if - test="//saml:Attribute[@AttributeName='MandatorDateOfBirth']" - >, geboren am <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,9,2)" - />. <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,6,2)" - />. <xsl:value-of - select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,1,4)" - /> - </xsl:if> - <xsl:if - test="//saml:Attribute[@AttributeName='MandatorDomainIdentifier']" - >, <xsl:value-of - select="//saml:Attribute[@AttributeName='MandatorDomainIdentifier']/saml:AttributeValue/text()" - /> - </xsl:if>, in deren Auftrag zu handeln. <xsl:if - test="//saml:Attribute[@AttributeName='MandatorWbpk']"> - <h4>wbPK(*) des Vollmachtgebers: <xsl:value-of - select="//saml:Attribute[@AttributeName='MandatorWbpk']/saml:AttributeValue/text()" - /></h4> - </xsl:if> - </h4> - <p/> - </xsl:if> - <xsl:choose> - <xsl:when test="//saml:Attribute[@AttributeName='OID']"> - <p/> - <hr/> - </xsl:when> - <xsl:when test="//saml:Attribute[@AttributeName='HPI']"> - <p/> - <hr/> - </xsl:when> - <xsl:when test="//saml:Attribute[@AttributeName='wbPK']"> - <p/> - <hr/> - </xsl:when> - </xsl:choose> - <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> - <h6>(*) wbPK: Das <i>wirtschaftsbereichsspezifische - Personenkennzeichen</i> wird aus den jeweiligen - Stammzahlen des Bürgers und des Wirtschaftsunternehmens - berechnet und ermöglicht eine eindeutige Zuordnung des - Bürgers zum Wirtschaftsunternehmen.</h6> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='HPI']"> - <h6>(**) HPI: Der <i>eHealth Professional Identifier</i> - wird aus den jeweiligen Stammzahlen der - Gesundheitsdiensteanbieterinnen / - Gesundheitsdiensteanbieter berechnet und ermöglicht eine - eindeutige Zuordnung der Gesundheitsdiensteanbieterin / - des Gesundheitsdiensteanbieters im - Gesundheitsbereich.</h6> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='OID']"> - <h6>(***) OID: <i>Object Identifier</i> sind standardisierte - Objekt-Bezeichner und beschreiben eindeutig die Rollen - des GDA-Token Inhabers.</h6> - </xsl:if> - </body> - </html> - </xsl:template> - </xsl:stylesheet> - </dsig:Transform> - <dsig:Transform - Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/> - </dsig:Transforms> - <sl:FinalDataMetaInfo> - <sl:MimeType>text/html</sl:MimeType> - </sl:FinalDataMetaInfo> - </sl:TransformsInfo> - </sl:DataObjectInfo> - <sl:SignatureInfo> - <sl:SignatureEnvironment> - <sl:XMLContent> - <saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" - xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" - MajorVersion="1" MinorVersion="0" AssertionID="any" Issuer="Klämens Örthäçké" - IssueInstant="2008-06-05T11:26:10+02:00"> - <saml:AttributeStatement> - <saml:Subject> - <saml:NameIdentifier>https://demo.egiz.gv.at/exchange-moa-id-auth/</saml:NameIdentifier> - </saml:Subject> - <saml:Attribute AttributeName="wbPK" - AttributeNamespace="http://reference.e-government.gv.at/namespace/moa/20020822#"> - <saml:AttributeValue> - <pr:Identification> - <pr:Value>LTpz8VYzns2jrx0J8Gm/R/nAhxA=</pr:Value> - <pr:Type>urn:publicid:gv.at:wbpk+FN+TODO</pr:Type> - </pr:Identification> - </saml:AttributeValue> - </saml:Attribute> - <saml:Attribute AttributeName="OA" - AttributeNamespace="http://reference.e-government.gv.at/namespace/moa/20020822#"> - <saml:AttributeValue>https://apps.egiz.gv.at/urlaubsschein-frontend/moaid-login</saml:AttributeValue> - </saml:Attribute> - <saml:Attribute AttributeName="Geburtsdatum" - AttributeNamespace="http://reference.e-government.gv.at/namespace/moa/20020822#"> - <saml:AttributeValue>1971-11-10</saml:AttributeValue> - </saml:Attribute> - </saml:AttributeStatement> - </saml:Assertion> - </sl:XMLContent> - </sl:SignatureEnvironment> - <sl:SignatureLocation Index="2" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">/saml:Assertion</sl:SignatureLocation> - </sl:SignatureInfo> -</sl:CreateXMLSignatureRequest> diff --git a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest02.xml_bound.xml b/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest02.xml_bound.xml deleted file mode 100644 index 54af272b..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest02.xml_bound.xml +++ /dev/null @@ -1 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CreateXMLSignatureRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"><KeyboxIdentifier>SecureSignatureKeypair</KeyboxIdentifier><DataObjectInfo Structure="detached"><DataObject Reference=""/><TransformsInfo><FinalDataMetaInfo><MimeType>application/xhtml+xml</MimeType></FinalDataMetaInfo></TransformsInfo><TransformsInfo><FinalDataMetaInfo><MimeType>text/html</MimeType></FinalDataMetaInfo></TransformsInfo></DataObjectInfo><SignatureInfo><SignatureEnvironment><XMLContent/></SignatureEnvironment><SignatureLocation Index="2">/saml:Assertion</SignatureLocation></SignatureInfo></CreateXMLSignatureRequest>
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest02.xml_redirect.txt b/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest02.xml_redirect.txt deleted file mode 100644 index fc0e4f14..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest02.xml_redirect.txt +++ /dev/null @@ -1,165 +0,0 @@ ---- redirected TransformsInfo content ---<dsig:Transforms> - <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></dsig:Transform> - <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> - <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" version="1.0"> - <xsl:template xmlns="http://www.w3.org/1999/xhtml" match="/"> - <html> - <head> - <title>Signatur der Anmeldedaten</title> - <style type="text/css" media="screen"> - .boldstyle { font-weight: bold; } - .italicstyle { font-style: italic; } - .annotationstyle { font-size: 0.8em; } - </style> - </head> - <body> - <h1>Signatur der Anmeldedaten</h1> - <p></p> - <h4>Mit meiner elektronischen Signatur beantrage ich, <span class="boldstyle"> - <xsl:value-of select="//@Issuer"></xsl:value-of> - </span>, geboren am <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,9,2)"></xsl:value-of>. <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,6,2)"></xsl:value-of>. <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,1,4)"></xsl:value-of>, <xsl:if test="//saml:Attribute[@AttributeName='OIDTextualDescription']"> in der Rolle als <xsl:value-of select="//saml:Attribute[@AttributeName='OIDTextualDescription']/saml:AttributeValue"></xsl:value-of> (OID***= <xsl:value-of select="//saml:Attribute[@AttributeName='OID']/saml:AttributeValue"></xsl:value-of>), </xsl:if> den Zugang zur gesicherten Anwendung. </h4> - <p></p> - <h4>Datum und Uhrzeit: <xsl:value-of select="substring(//@IssueInstant,9,2)"></xsl:value-of>. <xsl:value-of select="substring(//@IssueInstant,6,2)"></xsl:value-of>. <xsl:value-of select="substring(//@IssueInstant,1,4)"></xsl:value-of>, <xsl:value-of select="substring(//@IssueInstant,12,2)"></xsl:value-of>: - <xsl:value-of select="substring(//@IssueInstant,15,2)"></xsl:value-of>: <xsl:value-of select="substring(//@IssueInstant,18,2)"></xsl:value-of> - </h4> - <xsl:if test="//saml:Attribute[@AttributeName='HPI']"> - <h4>HPI(**): <xsl:value-of select="//saml:Attribute[@AttributeName='HPI']/saml:AttributeValue"></xsl:value-of></h4> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> - <h4>wbPK(*): <xsl:value-of select="//saml:Attribute[@AttributeName='wbPK']/saml:AttributeValue/pr:Identification/pr:Value"></xsl:value-of></h4> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='MandatorName']"> - <hr></hr> - <h4>Ich bin weiters ermächtigt als <xsl:value-of select="//saml:Attribute[@AttributeName='RepresentationType']/saml:AttributeValue/text()"></xsl:value-of> von <xsl:value-of select="//saml:Attribute[@AttributeName='MandatorName']/saml:AttributeValue/text()"></xsl:value-of> - <xsl:if test="//saml:Attribute[@AttributeName='MandatorDateOfBirth']">, geboren am <xsl:value-of select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,9,2)"></xsl:value-of>. <xsl:value-of select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,6,2)"></xsl:value-of>. <xsl:value-of select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,1,4)"></xsl:value-of> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='MandatorDomainIdentifier']">, <xsl:value-of select="//saml:Attribute[@AttributeName='MandatorDomainIdentifier']/saml:AttributeValue/text()"></xsl:value-of> - </xsl:if>, in deren Auftrag zu handeln. <xsl:if test="//saml:Attribute[@AttributeName='MandatorWbpk']"> - <h4>wbPK(*) des Vollmachtgebers: <xsl:value-of select="//saml:Attribute[@AttributeName='MandatorWbpk']/saml:AttributeValue/text()"></xsl:value-of></h4> - </xsl:if> - </h4> - <p></p> - </xsl:if> - <xsl:choose> - <xsl:when test="//saml:Attribute[@AttributeName='OID']"> - <p></p> - <hr></hr> - </xsl:when> - <xsl:when test="//saml:Attribute[@AttributeName='HPI']"> - <p></p> - <hr></hr> - </xsl:when> - <xsl:when test="//saml:Attribute[@AttributeName='wbPK']"> - <p></p> - <hr></hr> - </xsl:when> - </xsl:choose> - <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> - <div class="annotationstyle">(*) wbPK: Das <span class="italicstyle">wirtschaftsbereichsspezifische - Personenkennzeichen</span> wird aus den jeweiligen - Stammzahlen des Bürgers und des Wirtschaftsunternehmens - berechnet und ermöglicht eine eindeutige Zuordnung des - Bürgers zum Wirtschaftsunternehmen.</div> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='HPI']"> - <div class="annotationstyle">(**) HPI: Der <span class="italicstyle">eHealth Professional - Identifier</span> wird aus den jeweiligen Stammzahlen - der Gesundheitsdiensteanbieterinnen / - Gesundheitsdiensteanbieter berechnet und ermöglicht eine - eindeutige Zuordnung der Gesundheitsdiensteanbieterin / - des Gesundheitsdiensteanbieters im - Gesundheitsbereich.</div> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='OID']"> - <div class="annotationstyle">(***) OID: <span class="italicstyle">Object Identifier</span> sind - standardisierte Objekt-Bezeichner und beschreiben - eindeutig die Rollen des GDA-Token Inhabers.</div> - </xsl:if> - </body> - </html> - </xsl:template> - </xsl:stylesheet> - </dsig:Transform> - <dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"></dsig:Transform> - </dsig:Transforms> ------- redirected TransformsInfo content ---<dsig:Transforms> - <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></dsig:Transform> - <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> - <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" version="1.0"> - <xsl:output indent="yes" encoding="UTF-8" method="xml" version="1.0"></xsl:output> - <xsl:template xmlns="http://www.w3.org/1999/xhtml" match="/"> - <html> - <head> - <title>Signatur der Anmeldedaten</title> - </head> - <body> - <h1>Signatur der Anmeldedaten</h1> - <p></p> - <h4>Mit meiner elektronischen Signatur beantrage ich, <b> - <xsl:value-of select="//@Issuer"></xsl:value-of> - </b>, geboren am <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,9,2)"></xsl:value-of>. <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,6,2)"></xsl:value-of>. <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,1,4)"></xsl:value-of>, <xsl:if test="//saml:Attribute[@AttributeName='OIDTextualDescription']"> in der Rolle als <xsl:value-of select="//saml:Attribute[@AttributeName='OIDTextualDescription']/saml:AttributeValue"></xsl:value-of> (OID***= <xsl:value-of select="//saml:Attribute[@AttributeName='OID']/saml:AttributeValue"></xsl:value-of>), </xsl:if> den Zugang zur gesicherten Anwendung. </h4> - <p></p> - <h4>Datum und Uhrzeit: <xsl:value-of select="substring(//@IssueInstant,9,2)"></xsl:value-of>. <xsl:value-of select="substring(//@IssueInstant,6,2)"></xsl:value-of>. <xsl:value-of select="substring(//@IssueInstant,1,4)"></xsl:value-of>, <xsl:value-of select="substring(//@IssueInstant,12,2)"></xsl:value-of>: - <xsl:value-of select="substring(//@IssueInstant,15,2)"></xsl:value-of>: <xsl:value-of select="substring(//@IssueInstant,18,2)"></xsl:value-of> - </h4> - <xsl:if test="//saml:Attribute[@AttributeName='HPI']"> - <h4>HPI(**): <xsl:value-of select="//saml:Attribute[@AttributeName='HPI']/saml:AttributeValue"></xsl:value-of></h4> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> - <h4>wbPK(*): <xsl:value-of select="//saml:Attribute[@AttributeName='wbPK']/saml:AttributeValue/pr:Identification/pr:Value"></xsl:value-of></h4> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='MandatorName']"> - <hr></hr> - <h4>Ich bin weiters ermächtigt als <xsl:value-of select="//saml:Attribute[@AttributeName='RepresentationType']/saml:AttributeValue/text()"></xsl:value-of> von <xsl:value-of select="//saml:Attribute[@AttributeName='MandatorName']/saml:AttributeValue/text()"></xsl:value-of> - <xsl:if test="//saml:Attribute[@AttributeName='MandatorDateOfBirth']">, geboren am <xsl:value-of select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,9,2)"></xsl:value-of>. <xsl:value-of select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,6,2)"></xsl:value-of>. <xsl:value-of select="substring(//saml:Attribute[@AttributeName='MandatorDateOfBirth']/saml:AttributeValue,1,4)"></xsl:value-of> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='MandatorDomainIdentifier']">, <xsl:value-of select="//saml:Attribute[@AttributeName='MandatorDomainIdentifier']/saml:AttributeValue/text()"></xsl:value-of> - </xsl:if>, in deren Auftrag zu handeln. <xsl:if test="//saml:Attribute[@AttributeName='MandatorWbpk']"> - <h4>wbPK(*) des Vollmachtgebers: <xsl:value-of select="//saml:Attribute[@AttributeName='MandatorWbpk']/saml:AttributeValue/text()"></xsl:value-of></h4> - </xsl:if> - </h4> - <p></p> - </xsl:if> - <xsl:choose> - <xsl:when test="//saml:Attribute[@AttributeName='OID']"> - <p></p> - <hr></hr> - </xsl:when> - <xsl:when test="//saml:Attribute[@AttributeName='HPI']"> - <p></p> - <hr></hr> - </xsl:when> - <xsl:when test="//saml:Attribute[@AttributeName='wbPK']"> - <p></p> - <hr></hr> - </xsl:when> - </xsl:choose> - <xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> - <h6>(*) wbPK: Das <i>wirtschaftsbereichsspezifische - Personenkennzeichen</i> wird aus den jeweiligen - Stammzahlen des Bürgers und des Wirtschaftsunternehmens - berechnet und ermöglicht eine eindeutige Zuordnung des - Bürgers zum Wirtschaftsunternehmen.</h6> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='HPI']"> - <h6>(**) HPI: Der <i>eHealth Professional Identifier</i> - wird aus den jeweiligen Stammzahlen der - Gesundheitsdiensteanbieterinnen / - Gesundheitsdiensteanbieter berechnet und ermöglicht eine - eindeutige Zuordnung der Gesundheitsdiensteanbieterin / - des Gesundheitsdiensteanbieters im - Gesundheitsbereich.</h6> - </xsl:if> - <xsl:if test="//saml:Attribute[@AttributeName='OID']"> - <h6>(***) OID: <i>Object Identifier</i> sind standardisierte - Objekt-Bezeichner und beschreiben eindeutig die Rollen - des GDA-Token Inhabers.</h6> - </xsl:if> - </body> - </html> - </xsl:template> - </xsl:stylesheet> - </dsig:Transform> - <dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"></dsig:Transform> - </dsig:Transforms> ----
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest03.xml b/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest03.xml deleted file mode 100644 index c21fa6b1..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest03.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<sl:CreateXMLSignatureRequest -xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" -xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> - <sl:DataObjectInfo Structure="enveloping"> - <sl:DataObject> - <sl:XMLContent>I am a simple <funny>funny</funny> text.</sl:XMLContent> - </sl:DataObject> - </sl:DataObjectInfo> -</sl:CreateXMLSignatureRequest>
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest03.xml_bound.xml b/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest03.xml_bound.xml deleted file mode 100644 index 31cc86df..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest03.xml_bound.xml +++ /dev/null @@ -1 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CreateXMLSignatureRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#"><DataObjectInfo Structure="enveloping"><DataObject><XMLContent></XMLContent></DataObject></DataObjectInfo></CreateXMLSignatureRequest>
\ No newline at end of file diff --git a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest03.xml_redirect.txt b/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest03.xml_redirect.txt deleted file mode 100644 index 80a4dce3..00000000 --- a/mocca-1.2.11/utils/src/test/requests/CreateXMLSignatureRequest03.xml_redirect.txt +++ /dev/null @@ -1,3 +0,0 @@ -I am a simple <funny>funny</funny> text. - - |