LibreOffice Module oox (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
oox::crypto::Standard2007Engine Class Referencefinal

#include <Standard2007Engine.hxx>

Inheritance diagram for oox::crypto::Standard2007Engine:
[legend]
Collaboration diagram for oox::crypto::Standard2007Engine:
[legend]

Public Member Functions

 Standard2007Engine ()=default
 
bool readEncryptionInfo (css::uno::Reference< css::io::XInputStream > &rxInputStream) override
 
virtual bool generateEncryptionKey (OUString const &rPassword) override
 
virtual bool decrypt (BinaryXInputStream &aInputStream, BinaryXOutputStream &aOutputStream) override
 
bool checkDataIntegrity () override
 
void encrypt (const css::uno::Reference< css::io::XInputStream > &rxInputStream, css::uno::Reference< css::io::XOutputStream > &rxOutputStream, sal_uInt32 nSize) override
 
virtual void writeEncryptionInfo (BinaryXOutputStream &rStream) override
 
virtual bool setupEncryption (OUString const &rPassword) override
 
- Public Member Functions inherited from oox::crypto::CryptoEngine
 CryptoEngine ()
 
virtual ~CryptoEngine ()
 
virtual bool generateEncryptionKey (const OUString &rPassword)=0
 
virtual bool setupEncryption (const OUString &rPassword)=0
 

Private Member Functions

bool generateVerifier ()
 
bool calculateEncryptionKey (const OUString &rPassword)
 

Private Attributes

msfilter::StandardEncryptionInfo mInfo
 

Additional Inherited Members

- Protected Attributes inherited from oox::crypto::CryptoEngine
std::vector< sal_uInt8mKey
 

Detailed Description

Definition at line 27 of file Standard2007Engine.hxx.

Constructor & Destructor Documentation

oox::crypto::Standard2007Engine::Standard2007Engine ( )
default

Member Function Documentation

bool oox::crypto::Standard2007Engine::calculateEncryptionKey ( const OUString &  rPassword)
private
bool oox::crypto::Standard2007Engine::checkDataIntegrity ( )
overridevirtual

Implements oox::crypto::CryptoEngine.

Definition at line 184 of file Standard2007Engine.cxx.

bool oox::crypto::Standard2007Engine::decrypt ( BinaryXInputStream aInputStream,
BinaryXOutputStream aOutputStream 
)
overridevirtual
void oox::crypto::Standard2007Engine::encrypt ( const css::uno::Reference< css::io::XInputStream > &  rxInputStream,
css::uno::Reference< css::io::XOutputStream > &  rxOutputStream,
sal_uInt32  nSize 
)
overridevirtual
bool oox::crypto::Standard2007Engine::generateEncryptionKey ( OUString const &  rPassword)
overridevirtual
bool oox::crypto::Standard2007Engine::generateVerifier ( )
private
bool oox::crypto::Standard2007Engine::readEncryptionInfo ( css::uno::Reference< css::io::XInputStream > &  rxInputStream)
overridevirtual
bool oox::crypto::Standard2007Engine::setupEncryption ( OUString const &  rPassword)
overridevirtual
void oox::crypto::Standard2007Engine::writeEncryptionInfo ( BinaryXOutputStream rStream)
overridevirtual

Member Data Documentation

msfilter::StandardEncryptionInfo oox::crypto::Standard2007Engine::mInfo
private

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