LibreOffice Module package (master) 1
Macros | Variables
PackageConstants.hxx File Reference
#include <sal/types.h>
#include <rtl/ustring.hxx>
Include dependency graph for PackageConstants.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PKG_MNFST_FULLPATH   0
 
#define PKG_MNFST_VERSION   1
 
#define PKG_MNFST_MEDIATYPE   2
 
#define PKG_MNFST_INIVECTOR   3
 
#define PKG_MNFST_SALT   4
 
#define PKG_MNFST_ITERATION   5
 
#define PKG_MNFST_UCOMPSIZE   6
 
#define PKG_MNFST_DIGEST   7
 
#define PKG_MNFST_ENCALG   8
 
#define PKG_MNFST_STARTALG   9
 
#define PKG_MNFST_DIGESTALG   10
 
#define PKG_MNFST_DERKEYSIZE   11
 
#define PKG_SIZE_NOENCR_MNFST   3
 
#define PKG_SIZE_ENCR_MNFST   12
 
#define HAS_ENCRYPTED_ENTRIES_PROPERTY   "HasEncryptedEntries"
 
#define HAS_NONENCRYPTED_ENTRIES_PROPERTY   "HasNonEncryptedEntries"
 
#define IS_INCONSISTENT_PROPERTY   "IsInconsistent"
 

Variables

const sal_Int32 n_ConstBufferSize = 32768
 
const sal_Int32 n_ConstDigestLength = 1024
 
const sal_Int32 n_ConstDigestDecrypt = 1056
 
constexpr OUStringLiteral ENCRYPTION_KEY_PROPERTY = u"EncryptionKey"
 
constexpr OUStringLiteral STORAGE_ENCRYPTION_KEYS_PROPERTY = u"StorageEncryptionKeys"
 
constexpr OUStringLiteral ENCRYPTION_ALGORITHMS_PROPERTY = u"EncryptionAlgorithms"
 
constexpr OUStringLiteral ENCRYPTION_GPG_PROPERTIES = u"EncryptionGpGProperties"
 
constexpr OUStringLiteral MEDIATYPE_FALLBACK_USED_PROPERTY = u"MediaTypeFallbackUsed"
 

Macro Definition Documentation

◆ HAS_ENCRYPTED_ENTRIES_PROPERTY

#define HAS_ENCRYPTED_ENTRIES_PROPERTY   "HasEncryptedEntries"

Definition at line 56 of file PackageConstants.hxx.

◆ HAS_NONENCRYPTED_ENTRIES_PROPERTY

#define HAS_NONENCRYPTED_ENTRIES_PROPERTY   "HasNonEncryptedEntries"

Definition at line 57 of file PackageConstants.hxx.

◆ IS_INCONSISTENT_PROPERTY

#define IS_INCONSISTENT_PROPERTY   "IsInconsistent"

Definition at line 58 of file PackageConstants.hxx.

◆ PKG_MNFST_DERKEYSIZE

#define PKG_MNFST_DERKEYSIZE   11

Definition at line 46 of file PackageConstants.hxx.

◆ PKG_MNFST_DIGEST

#define PKG_MNFST_DIGEST   7

Definition at line 42 of file PackageConstants.hxx.

◆ PKG_MNFST_DIGESTALG

#define PKG_MNFST_DIGESTALG   10

Definition at line 45 of file PackageConstants.hxx.

◆ PKG_MNFST_ENCALG

#define PKG_MNFST_ENCALG   8

Definition at line 43 of file PackageConstants.hxx.

◆ PKG_MNFST_FULLPATH

#define PKG_MNFST_FULLPATH   0

Definition at line 34 of file PackageConstants.hxx.

◆ PKG_MNFST_INIVECTOR

#define PKG_MNFST_INIVECTOR   3

Definition at line 38 of file PackageConstants.hxx.

◆ PKG_MNFST_ITERATION

#define PKG_MNFST_ITERATION   5

Definition at line 40 of file PackageConstants.hxx.

◆ PKG_MNFST_MEDIATYPE

#define PKG_MNFST_MEDIATYPE   2

Definition at line 36 of file PackageConstants.hxx.

◆ PKG_MNFST_SALT

#define PKG_MNFST_SALT   4

Definition at line 39 of file PackageConstants.hxx.

◆ PKG_MNFST_STARTALG

#define PKG_MNFST_STARTALG   9

Definition at line 44 of file PackageConstants.hxx.

◆ PKG_MNFST_UCOMPSIZE

#define PKG_MNFST_UCOMPSIZE   6

Definition at line 41 of file PackageConstants.hxx.

◆ PKG_MNFST_VERSION

#define PKG_MNFST_VERSION   1

Definition at line 35 of file PackageConstants.hxx.

◆ PKG_SIZE_ENCR_MNFST

#define PKG_SIZE_ENCR_MNFST   12

Definition at line 49 of file PackageConstants.hxx.

◆ PKG_SIZE_NOENCR_MNFST

#define PKG_SIZE_NOENCR_MNFST   3

Definition at line 48 of file PackageConstants.hxx.

Variable Documentation

◆ ENCRYPTION_ALGORITHMS_PROPERTY

constexpr OUStringLiteral ENCRYPTION_ALGORITHMS_PROPERTY = u"EncryptionAlgorithms"
inlineconstexpr

◆ ENCRYPTION_GPG_PROPERTIES

constexpr OUStringLiteral ENCRYPTION_GPG_PROPERTIES = u"EncryptionGpGProperties"
inlineconstexpr

◆ ENCRYPTION_KEY_PROPERTY

constexpr OUStringLiteral ENCRYPTION_KEY_PROPERTY = u"EncryptionKey"
inlineconstexpr

◆ MEDIATYPE_FALLBACK_USED_PROPERTY

constexpr OUStringLiteral MEDIATYPE_FALLBACK_USED_PROPERTY = u"MediaTypeFallbackUsed"
inlineconstexpr

◆ n_ConstBufferSize

const sal_Int32 n_ConstBufferSize = 32768

◆ n_ConstDigestDecrypt

const sal_Int32 n_ConstDigestDecrypt = 1056

Definition at line 31 of file PackageConstants.hxx.

◆ n_ConstDigestLength

const sal_Int32 n_ConstDigestLength = 1024

Definition at line 30 of file PackageConstants.hxx.

Referenced by ZipOutputEntryBase::processDeflated().

◆ STORAGE_ENCRYPTION_KEYS_PROPERTY

constexpr OUStringLiteral STORAGE_ENCRYPTION_KEYS_PROPERTY = u"StorageEncryptionKeys"
inlineconstexpr