LibreOffice Module oox (master)  1
Classes | Enumerations | Functions
oox::crypto Namespace Reference

Classes

struct  AgileEncryptionInfo
 
struct  AgileEncryptionParameters
 
class  AgileEngine
 
class  Crypto
 
class  CryptoEngine
 
class  CryptoHash
 
struct  CryptoImpl
 
class  Decrypt
 
class  DocumentDecryption
 
class  DocumentEncryption
 
class  Encrypt
 
class  Standard2007Engine
 
class  StrongEncryptionDataSpace
 

Enumerations

enum  AgileEncryptionPreset {
  AgileEncryptionPreset::AES_128_SHA1,
  AgileEncryptionPreset::AES_256_SHA512
}
 
enum  CryptoHashType {
  CryptoHashType::SHA1,
  CryptoHashType::SHA256,
  CryptoHashType::SHA512
}
 

Functions

static std::vector< sal_uInt8calculateIV (comphelper::HashType eType, std::vector< sal_uInt8 > const &rSalt, std::vector< sal_uInt8 > const &rBlock, sal_Int32 nCipherBlockSize)
 
template<typename T >
roundUp (T input, T multiple)
 Rounds up the input to the nearest multiple. More...
 

Enumeration Type Documentation

Enumerator
AES_128_SHA1 
AES_256_SHA512 

Definition at line 70 of file AgileEngine.hxx.

Enumerator
SHA1 
SHA256 
SHA512 

Definition at line 47 of file CryptTools.hxx.

Function Documentation

static std::vector<sal_uInt8> oox::crypto::calculateIV ( comphelper::HashType  eType,
std::vector< sal_uInt8 > const &  rSalt,
std::vector< sal_uInt8 > const &  rBlock,
sal_Int32  nCipherBlockSize 
)
static
template<typename T >
T oox::crypto::roundUp ( input,
multiple 
)