LibreOffice Module oox (master) 1
Public Member Functions | Protected Attributes | List of all members
oox::crypto::CryptoEngine Class Referenceabstract

#include <CryptoEngine.hxx>

Inheritance diagram for oox::crypto::CryptoEngine:

Public Member Functions

 CryptoEngine ()
virtual ~CryptoEngine ()
virtual bool readEncryptionInfo (css::uno::Reference< css::io::XInputStream > &rxInputStream)=0
virtual bool generateEncryptionKey (const OUString &rPassword)=0
virtual bool decrypt (BinaryXInputStream &aInputStream, BinaryXOutputStream &aOutputStream)=0
virtual void writeEncryptionInfo (BinaryXOutputStream &rStream)=0
virtual bool setupEncryption (const OUString &rPassword)=0
virtual void encrypt (const css::uno::Reference< css::io::XInputStream > &rxInputStream, css::uno::Reference< css::io::XOutputStream > &rxOutputStream, sal_uInt32 nSize)=0
virtual bool checkDataIntegrity ()=0

Protected Attributes

std::vector< sal_uInt8mKey

Detailed Description

Definition at line 29 of file CryptoEngine.hxx.

Constructor & Destructor Documentation

◆ CryptoEngine()

oox::crypto::CryptoEngine::CryptoEngine ( )

Definition at line 35 of file CryptoEngine.hxx.

◆ ~CryptoEngine()

virtual oox::crypto::CryptoEngine::~CryptoEngine ( )

Definition at line 38 of file CryptoEngine.hxx.

Member Function Documentation

◆ checkDataIntegrity()

virtual bool oox::crypto::CryptoEngine::checkDataIntegrity ( )
pure virtual

◆ decrypt()

virtual bool oox::crypto::CryptoEngine::decrypt ( BinaryXInputStream aInputStream,
BinaryXOutputStream aOutputStream 
pure virtual

◆ encrypt()

virtual void oox::crypto::CryptoEngine::encrypt ( const css::uno::Reference< css::io::XInputStream > &  rxInputStream,
css::uno::Reference< css::io::XOutputStream > &  rxOutputStream,
sal_uInt32  nSize 
pure virtual

◆ generateEncryptionKey()

virtual bool oox::crypto::CryptoEngine::generateEncryptionKey ( const OUString &  rPassword)
pure virtual

◆ readEncryptionInfo()

virtual bool oox::crypto::CryptoEngine::readEncryptionInfo ( css::uno::Reference< css::io::XInputStream > &  rxInputStream)
pure virtual

◆ setupEncryption()

virtual bool oox::crypto::CryptoEngine::setupEncryption ( const OUString &  rPassword)
pure virtual

◆ writeEncryptionInfo()

virtual void oox::crypto::CryptoEngine::writeEncryptionInfo ( BinaryXOutputStream rStream)
pure virtual

Member Data Documentation

◆ mKey

std::vector<sal_uInt8> oox::crypto::CryptoEngine::mKey

The documentation for this class was generated from the following file: