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

#include <DocumentDecryption.hxx>

Collaboration diagram for oox::crypto::DocumentDecryption:
[legend]

Public Member Functions

 DocumentDecryption (const css::uno::Reference< css::uno::XComponentContext > &rxContext, oox::ole::OleStorage &rOleStorage)
 
bool decrypt (const css::uno::Reference< css::io::XStream > &xDocumentStream)
 
bool readEncryptionInfo ()
 
bool generateEncryptionKey (const OUString &rPassword)
 
css::uno::Sequence< css::beans::NamedValue > createEncryptionData (const OUString &rPassword)
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > mxContext
 
oox::ole::OleStoragemrOleStorage
 
css::uno::Sequence< css::beans::NamedValue > maStreamsSequence
 
css::uno::Reference< css::packages::XPackageEncryption > mxPackageEncryption
 

Detailed Description

Definition at line 31 of file DocumentDecryption.hxx.

Constructor & Destructor Documentation

oox::crypto::DocumentDecryption::DocumentDecryption ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
oox::ole::OleStorage rOleStorage 
)

Member Function Documentation

uno::Sequence< beans::NamedValue > oox::crypto::DocumentDecryption::createEncryptionData ( const OUString &  rPassword)

Definition at line 185 of file DocumentDecryption.cxx.

References mxPackageEncryption.

bool oox::crypto::DocumentDecryption::decrypt ( const css::uno::Reference< css::io::XStream > &  xDocumentStream)
bool oox::crypto::DocumentDecryption::generateEncryptionKey ( const OUString &  rPassword)

Definition at line 88 of file DocumentDecryption.cxx.

References mxPackageEncryption.

bool oox::crypto::DocumentDecryption::readEncryptionInfo ( )

Member Data Documentation

css::uno::Sequence<css::beans::NamedValue> oox::crypto::DocumentDecryption::maStreamsSequence
private

Definition at line 36 of file DocumentDecryption.hxx.

Referenced by DocumentDecryption(), and readEncryptionInfo().

oox::ole::OleStorage& oox::crypto::DocumentDecryption::mrOleStorage
private

Definition at line 35 of file DocumentDecryption.hxx.

Referenced by decrypt(), DocumentDecryption(), and readEncryptionInfo().

css::uno::Reference< css::uno::XComponentContext > oox::crypto::DocumentDecryption::mxContext
private

Definition at line 34 of file DocumentDecryption.hxx.

Referenced by readEncryptionInfo().

css::uno::Reference< css::packages::XPackageEncryption > oox::crypto::DocumentDecryption::mxPackageEncryption
private

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