xref: /aoo4110/main/package/dtd/Manifest.dtd (revision b1cdbd2c)
1<!--***********************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 ***********************************************************-->
21
22
23<!ELEMENT manifest:manifest (manifest:file-entry+)>
24<!ATTLIST manifest:manifest xmlns:manifest CDATA #FIXED "http://openoffice.org/2001/manifest">
25
26<!ELEMENT manifest:file-entry (manifest:encryption-data?)>
27<!-- manifest:size is usually only specified for encrypted entries -->
28<!ATTLIST manifest:file-entry
29	manifest:full-path CDATA #REQUIRED
30	manifest:size CDATA #IMPLIED
31	manifest:media-type CDATA #REQUIRED
32>
33
34<!ELEMENT manifest:encryption-data (manifest:algorithm,manifest:key-derivation)>
35<!ATTLIST manifest:encryption-data
36	manifest:checksum-type CDATA #REQUIRED
37	manifest:checksum CDATA #REQUIRED >
38<!-- algorithm-name specifies the name of the algorithm used to encrypt
39	 the stream, for example Blowfish
40	 manifest:initialisation-vector is stored encoded in Base64 -->
41<!ELEMENT manifest:algorithm EMPTY>
42<!ATTLIST manifest:algorithm
43	manifest:algorithm-name CDATA #REQUIRED
44	manifest:initialisation-vector CDATA #REQUIRED>
45
46<!ELEMENT manifest:key-derivation EMPTY>
47<!-- manifest:key-derivation-name specifies the name of the algorithm used to derive
48	 the key, for example PBKDF2 (see rfc 2898 )
49	 manifest:salt is stored encoded in Base64 -->
50<!ATTLIST manifest:key-derivation
51	manifest:key-derivation-name CDATA #REQUIRED
52	manifest:salt CDATA #REQUIRED
53	manifest:iteration-count CDATA #REQUIRED>
54
55