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 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
 

Private Member Functions

bool generateVerifier ()
 
bool calculateEncryptionKey (std::u16string_view 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

◆ Standard2007Engine()

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

Member Function Documentation

◆ calculateEncryptionKey()

bool oox::crypto::Standard2007Engine::calculateEncryptionKey ( std::u16string_view  rPassword)
private

◆ checkDataIntegrity()

bool oox::crypto::Standard2007Engine::checkDataIntegrity ( )
overridevirtual

Implements oox::crypto::CryptoEngine.

Definition at line 184 of file Standard2007Engine.cxx.

◆ decrypt()

bool oox::crypto::Standard2007Engine::decrypt ( BinaryXInputStream aInputStream,
BinaryXOutputStream aOutputStream 
)
overridevirtual

◆ encrypt()

void oox::crypto::Standard2007Engine::encrypt ( const css::uno::Reference< css::io::XInputStream > &  rxInputStream,
css::uno::Reference< css::io::XOutputStream > &  rxOutputStream,
sal_uInt32  nSize 
)
overridevirtual

◆ generateEncryptionKey()

bool oox::crypto::Standard2007Engine::generateEncryptionKey ( OUString const &  rPassword)
overridevirtual

◆ generateVerifier()

bool oox::crypto::Standard2007Engine::generateVerifier ( )
private

◆ readEncryptionInfo()

bool oox::crypto::Standard2007Engine::readEncryptionInfo ( css::uno::Reference< css::io::XInputStream > &  rxInputStream)
overridevirtual

◆ setupEncryption()

bool oox::crypto::Standard2007Engine::setupEncryption ( OUString const &  rPassword)
overridevirtual

◆ writeEncryptionInfo()

void oox::crypto::Standard2007Engine::writeEncryptionInfo ( BinaryXOutputStream rStream)
overridevirtual

Member Data Documentation

◆ mInfo

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

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