<?xml version="1.0" encoding="UTF-8"?>

<!--
Erstellung einer Signatur
  - Signaturumgebung per LocRef
-->

<CreateXMLSignatureRequest 
  xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" 
  xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
  <KeyIdentifier>PKCS12RSAKey1</KeyIdentifier>
  <SingleSignatureInfo SecurityLayerConformity="false">
  <DataObjectInfo Structure="detached" ChildOfManifest="false">
    <DataObject Reference="http://localhost:8080/moa-spss-testdata/resources/documents/testSimple.txt">
      <XMLContent xml:space="preserve">Dies sind Testdaten</XMLContent>
    </DataObject>
    <CreateTransformsInfoProfile>
      <CreateTransformsInfo>
        <FinalDataMetaInfo>
          <MimeType>text/plain</MimeType></FinalDataMetaInfo>
        </CreateTransformsInfo></CreateTransformsInfoProfile>
      </DataObjectInfo>
    <CreateSignatureInfo xmlns:data="http://uri.data.org">
      <CreateSignatureEnvironment>
        <LocRefContent>http://localhost:8080/moa-spss-testdata/resources/testDocument.xml</LocRefContent>
      </CreateSignatureEnvironment>
      <CreateSignatureEnvironmentProfile>
        <CreateSignatureLocation Index="0">//data:Document</CreateSignatureLocation>
      </CreateSignatureEnvironmentProfile>
    </CreateSignatureInfo>
  </SingleSignatureInfo>
</CreateXMLSignatureRequest>