Branch libreoffice-5-0-4
[LibreOffice.git] / package / dtd / Manifest.dtd
blob2dbdbf00c81d71e8e2c7b1c80468b0908c9d7db4
1 <!--
2 * This file is part of the LibreOffice project.
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/.
8 * This file incorporates work covered by the following license notice:
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">
21 <!ELEMENT manifest:file-entry (manifest:encryption-data?)>
22 <!-- manifest:size is usually only specified for encrypted entries -->
23 <!ATTLIST manifest:file-entry
24 manifest:full-path CDATA #REQUIRED
25 manifest:size CDATA #IMPLIED
26 manifest:media-type CDATA #REQUIRED
29 <!ELEMENT manifest:encryption-data (manifest:algorithm,manifest:key-derivation)>
30 <!ATTLIST manifest:encryption-data
31 manifest:checksum-type CDATA #REQUIRED
32 manifest:checksum CDATA #REQUIRED >
33 <!-- algorithm-name specifies the name of the algorithm used to encrypt
34 the stream, for example Blowfish
35 manifest:initialisation-vector is stored encoded in Base64 -->
36 <!ELEMENT manifest:algorithm EMPTY>
37 <!ATTLIST manifest:algorithm
38 manifest:algorithm-name CDATA #REQUIRED
39 manifest:initialisation-vector CDATA #REQUIRED>
41 <!ELEMENT manifest:key-derivation EMPTY>
42 <!-- manifest:key-derivation-name specifies the name of the algorithm used to derive
43 the key, for example PBKDF2 (see rfc 2898 )
44 manifest:salt is stored encoded in Base64 -->
45 <!ATTLIST manifest:key-derivation
46 manifest:key-derivation-name CDATA #REQUIRED
47 manifest:salt CDATA #REQUIRED
48 manifest:iteration-count CDATA #REQUIRED>