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:
[legend]

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

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

Definition at line 35 of file CryptoEngine.hxx.

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

Definition at line 38 of file CryptoEngine.hxx.

Member Function Documentation

virtual bool oox::crypto::CryptoEngine::checkDataIntegrity ( )
pure virtual
virtual bool oox::crypto::CryptoEngine::decrypt ( BinaryXInputStream aInputStream,
BinaryXOutputStream aOutputStream 
)
pure virtual
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
virtual bool oox::crypto::CryptoEngine::generateEncryptionKey ( const OUString &  rPassword)
pure virtual
virtual bool oox::crypto::CryptoEngine::readEncryptionInfo ( css::uno::Reference< css::io::XInputStream > &  rxInputStream)
pure virtual
virtual bool oox::crypto::CryptoEngine::setupEncryption ( const OUString &  rPassword)
pure virtual
virtual void oox::crypto::CryptoEngine::writeEncryptionInfo ( BinaryXOutputStream rStream)
pure virtual

Member Data Documentation

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

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