Manifest.dtd 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--
  2. * This file is part of the LibreOffice project.
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. *
  8. * This file incorporates work covered by the following license notice:
  9. *
  10. * Licensed to the Apache Software Foundation (ASF) under one or more
  11. * contributor license agreements. See the NOTICE file distributed
  12. * with this work for additional information regarding copyright
  13. * ownership. The ASF licenses this file to you under the Apache
  14. * License, Version 2.0 (the "License"); you may not use this file
  15. * except in compliance with the License. You may obtain a copy of
  16. * the License at http://www.apache.org/licenses/LICENSE-2.0 .
  17. -->
  18. <!ELEMENT manifest:manifest (manifest:file-entry+)>
  19. <!ATTLIST manifest:manifest xmlns:manifest CDATA #FIXED "http://openoffice.org/2001/manifest">
  20. <!ELEMENT manifest:file-entry (manifest:encryption-data?)>
  21. <!-- manifest:size is usually only specified for encrypted entries -->
  22. <!ATTLIST manifest:file-entry
  23. manifest:full-path CDATA #REQUIRED
  24. manifest:size CDATA #IMPLIED
  25. manifest:media-type CDATA #REQUIRED
  26. >
  27. <!ELEMENT manifest:encryption-data (manifest:algorithm,manifest:key-derivation)>
  28. <!ATTLIST manifest:encryption-data
  29. manifest:checksum-type CDATA #REQUIRED
  30. manifest:checksum CDATA #REQUIRED >
  31. <!-- algorithm-name specifies the name of the algorithm used to encrypt
  32. the stream, for example Blowfish
  33. manifest:initialisation-vector is stored encoded in Base64 -->
  34. <!ELEMENT manifest:algorithm EMPTY>
  35. <!ATTLIST manifest:algorithm
  36. manifest:algorithm-name CDATA #REQUIRED
  37. manifest:initialisation-vector CDATA #REQUIRED>
  38. <!ELEMENT manifest:key-derivation EMPTY>
  39. <!-- manifest:key-derivation-name specifies the name of the algorithm used to derive
  40. the key, for example PBKDF2 (see rfc 2898 )
  41. manifest:salt is stored encoded in Base64 -->
  42. <!ATTLIST manifest:key-derivation
  43. manifest:key-derivation-name CDATA #REQUIRED
  44. manifest:salt CDATA #REQUIRED
  45. manifest:iteration-count CDATA #REQUIRED>