Bump version to 5.0-14
[LibreOffice.git] / package / source / manifest / ManifestDefines.hxx
blob3db4a0b584bc791057446062bf1e6815d99958eb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_PACKAGE_SOURCE_MANIFEST_MANIFESTDEFINES_HXX
20 #define INCLUDED_PACKAGE_SOURCE_MANIFEST_MANIFESTDEFINES_HXX
22 #include <PackageConstants.hxx>
24 #define MANIFEST_NSPREFIX "manifest:"
25 #define ELEMENT_MANIFEST "manifest:manifest"
26 #define ATTRIBUTE_XMLNS "xmlns:manifest"
27 #define MANIFEST_NAMESPACE "http://openoffice.org/2001/manifest"
28 #define MANIFEST_OASIS_NAMESPACE "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
29 #define MANIFEST_DOCTYPE "<!DOCTYPE manifest:manifest PUBLIC \"-//OpenOffice.org//DTD Manifest 1.0//EN\" \"Manifest.dtd\">"
30 #define ATTRIBUTE_CDATA "CDATA"
32 #define ELEMENT_FILE_ENTRY "manifest:file-entry"
33 #define ATTRIBUTE_FULL_PATH "manifest:full-path"
34 #define ATTRIBUTE_VERSION "manifest:version"
35 #define ATTRIBUTE_MEDIA_TYPE "manifest:media-type"
36 #define ATTRIBUTE_SIZE "manifest:size"
38 #define ELEMENT_ENCRYPTION_DATA "manifest:encryption-data"
39 #define ATTRIBUTE_CHECKSUM_TYPE "manifest:checksum-type"
40 #define ATTRIBUTE_CHECKSUM "manifest:checksum"
42 #define ELEMENT_ALGORITHM "manifest:algorithm"
43 #define ATTRIBUTE_ALGORITHM_NAME "manifest:algorithm-name"
44 #define ATTRIBUTE_INITIALISATION_VECTOR "manifest:initialisation-vector"
46 #define ELEMENT_START_KEY_GENERATION "manifest:start-key-generation"
47 #define ATTRIBUTE_START_KEY_GENERATION_NAME "manifest:start-key-generation-name"
48 #define ATTRIBUTE_KEY_SIZE "manifest:key-size"
50 #define ELEMENT_KEY_DERIVATION "manifest:key-derivation"
51 #define ATTRIBUTE_KEY_DERIVATION_NAME "manifest:key-derivation-name"
52 #define ATTRIBUTE_SALT "manifest:salt"
53 #define ATTRIBUTE_ITERATION_COUNT "manifest:iteration-count"
55 #define SHA256_URL "http://www.w3.org/2000/09/xmldsig#sha256"
56 #define SHA1_NAME "SHA1"
57 #define SHA1_URL "http://www.w3.org/2000/09/xmldsig#sha1"
59 #define SHA1_1K_NAME "SHA1/1K"
60 #define SHA1_1K_URL "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha1-1k"
61 #define SHA256_1K_URL "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha256-1k"
63 #define BLOWFISH_NAME "Blowfish CFB"
64 #define BLOWFISH_URL "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#blowfish"
65 #define AES128_URL "http://www.w3.org/2001/04/xmlenc#aes128-cbc"
66 #define AES192_URL "http://www.w3.org/2001/04/xmlenc#aes192-cbc"
67 #define AES256_URL "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
69 #define PBKDF2_NAME "PBKDF2"
70 #define PBKDF2_URL "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0#pbkdf2"
72 #endif
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */