diff options
-rw-r--r-- | work/templates/BKUSignRequestBase64.xml | 14 | ||||
-rw-r--r-- | work/templates/BKUVerifyRequestBase64.xml | 9 | ||||
-rw-r--r-- | work/templates/BKUVerifyTemplateBase64.xml | 6 | ||||
-rw-r--r-- | work/templates/MOASignRequestBase64.xml | 19 | ||||
-rw-r--r-- | work/templates/MOASignRequestDetached.xml | 19 | ||||
-rw-r--r-- | work/templates/MOAVerifyRequestBase64.xml | 10 | ||||
-rw-r--r-- | work/templates/MOAVerifyRequestDetached.xml | 10 | ||||
-rw-r--r-- | work/templates/MOAVerifyTemplateBase64.xml | 11 |
8 files changed, 98 insertions, 0 deletions
diff --git a/work/templates/BKUSignRequestBase64.xml b/work/templates/BKUSignRequestBase64.xml new file mode 100644 index 0000000..4cebb0e --- /dev/null +++ b/work/templates/BKUSignRequestBase64.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<sl:CreateXMLSignatureRequest xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"> +<sl:KeyboxIdentifier>KeyboxIdentifierReplace</sl:KeyboxIdentifier> +<sl:DataObjectInfo Structure="enveloping"> +<sl:DataObject> +<sl:Base64Content>Base64ContentReplace</sl:Base64Content> +</sl:DataObject> +<sl:TransformsInfo> +<sl:FinalDataMetaInfo> +<sl:MimeType>text/plain</sl:MimeType> +</sl:FinalDataMetaInfo> +</sl:TransformsInfo> +</sl:DataObjectInfo> +</sl:CreateXMLSignatureRequest>
\ No newline at end of file diff --git a/work/templates/BKUVerifyRequestBase64.xml b/work/templates/BKUVerifyRequestBase64.xml new file mode 100644 index 0000000..e232e51 --- /dev/null +++ b/work/templates/BKUVerifyRequestBase64.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<sl:VerifyXMLSignatureRequest xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> +<sl:SignatureInfo> +<sl:SignatureEnvironment> +<sl:XMLContent>XMLContentReplace</sl:XMLContent> +</sl:SignatureEnvironment> +<sl:SignatureLocation>/dsig:Signature</sl:SignatureLocation> +</sl:SignatureInfo> +</sl:VerifyXMLSignatureRequest>
\ No newline at end of file diff --git a/work/templates/BKUVerifyTemplateBase64.xml b/work/templates/BKUVerifyTemplateBase64.xml new file mode 100644 index 0000000..bd30d70 --- /dev/null +++ b/work/templates/BKUVerifyTemplateBase64.xml @@ -0,0 +1,6 @@ +<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Id="signature-SigIdReplace"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="CertAlgReplace"/><dsig:Reference Id="signed-data-reference-SigDataRefReplace" URI="#signed-data-object-SigDataObjURIReplace"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"><xpf:XPath xmlns:xpf="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect">id('signed-data-object-SigDataObjURIReplace')/node()</xpf:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>DigestValueSignedDataReplace</dsig:DigestValue></dsig:Reference><dsig:Reference Id="etsi-data-reference-EtsiDataRefReplace" Type="http://uri.etsi.org/01903/v1.1.1#SignedProperties" URI="#xmlns(etsi=http://uri.etsi.org/01903/v1.1.1%23)%20xpointer(id('etsi-data-object-EtsiDataObjURIReplace')/child::etsi:QualifyingProperties/child::etsi:SignedProperties)"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>DigestValueSignedPropertiesReplace</dsig:DigestValue></dsig:Reference></dsig:SignedInfo> +<dsig:SignatureValue>SignatureValueReplace</dsig:SignatureValue> +<dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>X509CertificateReplace</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo> +<dsig:Object Id="signed-data-object-SigDataObjURIReplace"><dsig:Base64Content>Base64ContentReplace</dsig:Base64Content></dsig:Object> +<dsig:Object Id="etsi-data-object-EtsiDataObjURIReplace"><etsi:QualifyingProperties xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#" Target="#signature-SigIdReplace"><etsi:SignedProperties xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#"><etsi:SignedSignatureProperties><etsi:SigningTime>SigningTimeReplace</etsi:SigningTime><etsi:SigningCertificate><etsi:Cert><etsi:CertDigest><etsi:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></etsi:DigestMethod><etsi:DigestValue>DigestValueX509CertificateReplace</etsi:DigestValue></etsi:CertDigest><etsi:IssuerSerial><dsig:X509IssuerName>X509IssuerNameReplace</dsig:X509IssuerName><dsig:X509SerialNumber>X509SerialNumberReplace</dsig:X509SerialNumber></etsi:IssuerSerial></etsi:Cert></etsi:SigningCertificate><etsi:SignaturePolicyIdentifier><etsi:SignaturePolicyImplied></etsi:SignaturePolicyImplied></etsi:SignaturePolicyIdentifier></etsi:SignedSignatureProperties><etsi:SignedDataObjectProperties><etsi:DataObjectFormat ObjectReference="#signed-data-reference-SigDataRefReplace"><etsi:MimeType>text/plain</etsi:MimeType></etsi:DataObjectFormat></etsi:SignedDataObjectProperties></etsi:SignedProperties></etsi:QualifyingProperties></dsig:Object> +</dsig:Signature>
\ No newline at end of file diff --git a/work/templates/MOASignRequestBase64.xml b/work/templates/MOASignRequestBase64.xml new file mode 100644 index 0000000..3c08c9e --- /dev/null +++ b/work/templates/MOASignRequestBase64.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<CreateXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> +<KeyIdentifier>KeyIdentifierReplace</KeyIdentifier> +<SingleSignatureInfo SecurityLayerConformity="true"> +<DataObjectInfo Structure="enveloping"> +<DataObject> +<Base64Content>Base64ContentReplace</Base64Content> +</DataObject> +<CreateTransformsInfoProfile> +<CreateTransformsInfo> +<FinalDataMetaInfo> +<MimeType>text/plain</MimeType> +</FinalDataMetaInfo> +</CreateTransformsInfo> +</CreateTransformsInfoProfile> +</DataObjectInfo> +</SingleSignatureInfo> +</CreateXMLSignatureRequest> + diff --git a/work/templates/MOASignRequestDetached.xml b/work/templates/MOASignRequestDetached.xml new file mode 100644 index 0000000..4bf42cf --- /dev/null +++ b/work/templates/MOASignRequestDetached.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<CreateXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> +<KeyIdentifier>KeyIdentifierReplace</KeyIdentifier> +<SingleSignatureInfo SecurityLayerConformity="true"> +<DataObjectInfo Structure="detached"> +<DataObject Reference="urn:Document"> + <LocRefContent>LocRefContentReplace</LocRefContent> +</DataObject> +<CreateTransformsInfoProfile> +<CreateTransformsInfo> +<FinalDataMetaInfo> +<MimeType>MimeTypeReplace</MimeType> +</FinalDataMetaInfo> +</CreateTransformsInfo> +</CreateTransformsInfoProfile> +</DataObjectInfo> +</SingleSignatureInfo> +</CreateXMLSignatureRequest> + diff --git a/work/templates/MOAVerifyRequestBase64.xml b/work/templates/MOAVerifyRequestBase64.xml new file mode 100644 index 0000000..04c6863 --- /dev/null +++ b/work/templates/MOAVerifyRequestBase64.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<VerifyXMLSignatureRequest xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"> +<VerifySignatureInfo> +<VerifySignatureEnvironment> +<XMLContent>XMLContentReplace</XMLContent> +</VerifySignatureEnvironment> +<VerifySignatureLocation xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">/dsig:Signature</VerifySignatureLocation> +</VerifySignatureInfo> +<TrustProfileID>TrustProfileIDReplace</TrustProfileID> +</VerifyXMLSignatureRequest>
\ No newline at end of file diff --git a/work/templates/MOAVerifyRequestDetached.xml b/work/templates/MOAVerifyRequestDetached.xml new file mode 100644 index 0000000..04c6863 --- /dev/null +++ b/work/templates/MOAVerifyRequestDetached.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<VerifyXMLSignatureRequest xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"> +<VerifySignatureInfo> +<VerifySignatureEnvironment> +<XMLContent>XMLContentReplace</XMLContent> +</VerifySignatureEnvironment> +<VerifySignatureLocation xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">/dsig:Signature</VerifySignatureLocation> +</VerifySignatureInfo> +<TrustProfileID>TrustProfileIDReplace</TrustProfileID> +</VerifyXMLSignatureRequest>
\ No newline at end of file diff --git a/work/templates/MOAVerifyTemplateBase64.xml b/work/templates/MOAVerifyTemplateBase64.xml new file mode 100644 index 0000000..6811ed1 --- /dev/null +++ b/work/templates/MOAVerifyTemplateBase64.xml @@ -0,0 +1,11 @@ +<dsig:Signature Id="signature-1-1" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> +<dsig:SignedInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="CertAlgReplace"/><dsig:Reference Id="reference-1-1" URI="#xpointer(id('signed-data-1-1-1')/node())"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>DigestValueSignedDataReplace</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://uri.etsi.org/01903/v1.1.1#SignedProperties" URI="#xmlns(etsi=http://uri.etsi.org/01903/v1.1.1%23)%20xpointer(id('etsi-signed-1-1')/child::etsi:QualifyingProperties/child::etsi:SignedProperties)"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>DigestValueSignedPropertiesReplace</dsig:DigestValue></dsig:Reference></dsig:SignedInfo> +<dsig:SignatureValue>SignatureValueReplace</dsig:SignatureValue> +<dsig:KeyInfo> +<dsig:X509Data> +<dsig:X509Certificate>X509CertificateReplace</dsig:X509Certificate> +</dsig:X509Data> +</dsig:KeyInfo> +<dsig:Object Id="signed-data-1-1-1"><Base64Content>Base64ContentReplace</Base64Content></dsig:Object> +<dsig:Object Id="etsi-signed-1-1"><etsi:QualifyingProperties Target="#signature-1-1" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#"><etsi:SignedProperties xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#"><etsi:SignedSignatureProperties><etsi:SigningTime>SigningTimeReplace</etsi:SigningTime><etsi:SigningCertificate><etsi:Cert><etsi:CertDigest><etsi:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></etsi:DigestMethod><etsi:DigestValue>DigestValueX509CertificateReplace</etsi:DigestValue></etsi:CertDigest><etsi:IssuerSerial><dsig:X509IssuerName>X509IssuerNameReplace</dsig:X509IssuerName><dsig:X509SerialNumber>X509SerialNumberReplace</dsig:X509SerialNumber></etsi:IssuerSerial></etsi:Cert></etsi:SigningCertificate><etsi:SignaturePolicyIdentifier><etsi:SignaturePolicyImplied></etsi:SignaturePolicyImplied></etsi:SignaturePolicyIdentifier></etsi:SignedSignatureProperties><etsi:SignedDataObjectProperties><etsi:DataObjectFormat ObjectReference="#reference-1-1"><etsi:MimeType>text/plain</etsi:MimeType></etsi:DataObjectFormat></etsi:SignedDataObjectProperties></etsi:SignedProperties></etsi:QualifyingProperties></dsig:Object> +</dsig:Signature>
\ No newline at end of file |