LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XclImpBiff8CryptoAPIDecrypter Class Reference

#include <xistream.hxx>

Inheritance diagram for XclImpBiff8CryptoAPIDecrypter:
Collaboration diagram for XclImpBiff8CryptoAPIDecrypter:

Public Member Functions

 XclImpBiff8CryptoAPIDecrypter (std::vector< sal_uInt8 > &&rSalt, std::vector< sal_uInt8 > &&rVerifier, std::vector< sal_uInt8 > &&rVerifierHash)
- Public Member Functions inherited from XclImpDecrypter
 XclImpDecrypter ()
virtual ~XclImpDecrypter () override
const ErrCodeGetError () const
 Returns the current error code of the decrypter. More...
bool IsValid () const
 Returns true, if the decoder has been initialized correctly. More...
XclImpDecrypterRef Clone () const
 Creates a (ref-counted) copy of this decrypter object. More...
virtual ::comphelper::DocPasswordVerifierResult verifyPassword (const OUString &rPassword, css::uno::Sequence< css::beans::NamedValue > &o_rEncryptionData) override
 Implementation of the comphelper::IDocPasswordVerifier interface. More...
virtual ::comphelper::DocPasswordVerifierResult verifyEncryptionData (const css::uno::Sequence< css::beans::NamedValue > &rEncryptionData) override
void Update (const SvStream &rStrm, sal_uInt16 nRecSize)
 Updates the decrypter on start of a new record or after seeking stream. More...
sal_uInt16 Read (SvStream &rStrm, void *pData, sal_uInt16 nBytes)
 Reads and decrypts nBytes bytes and stores data into the existing(!) buffer pData. More...
- Public Member Functions inherited from comphelper::IDocPasswordVerifier
virtual ~IDocPasswordVerifier ()
virtual DocPasswordVerifierResult verifyPassword (const OUString &rPassword, css::uno::Sequence< css::beans::NamedValue > &o_rEncryptionData)=0
virtual DocPasswordVerifierResult verifyEncryptionData (const css::uno::Sequence< css::beans::NamedValue > &o_rEncryptionData)=0

Private Member Functions

 XclImpBiff8CryptoAPIDecrypter (const XclImpBiff8CryptoAPIDecrypter &rSrc)
 Private copy c'tor for OnClone(). More...
virtual XclImpBiff8CryptoAPIDecrypterOnClone () const override
 Implementation of cloning this object. More...

Private Attributes

::msfilter::MSCodec_CryptoAPI maCodec

Additional Inherited Members

- Protected Member Functions inherited from XclImpBiff8Decrypter
 XclImpBiff8Decrypter (std::vector< sal_uInt8 > &&rSalt, std::vector< sal_uInt8 > &&rVerifier, std::vector< sal_uInt8 > &&rVerifierHash)
 XclImpBiff8Decrypter (const XclImpBiff8Decrypter &rSrc)
- Protected Member Functions inherited from XclImpDecrypter
 XclImpDecrypter (const XclImpDecrypter &rSrc)
 Protected copy c'tor for OnClone(). More...
- Protected Attributes inherited from XclImpBiff8Decrypter
css::uno::Sequence< css::beans::NamedValue > maEncryptionData
std::vector< sal_uInt8maSalt
std::vector< sal_uInt8maVerifier
std::vector< sal_uInt8maVerifierHash

Detailed Description

Definition at line 174 of file xistream.hxx.

Constructor & Destructor Documentation

◆ XclImpBiff8CryptoAPIDecrypter() [1/2]

XclImpBiff8CryptoAPIDecrypter::XclImpBiff8CryptoAPIDecrypter ( std::vector< sal_uInt8 > &&  rSalt,
std::vector< sal_uInt8 > &&  rVerifier,
std::vector< sal_uInt8 > &&  rVerifierHash 

Definition at line 177 of file xistream.hxx.

References maCodec, and XclImpBiff8Decrypter::mpCodec.

Referenced by OnClone().

◆ XclImpBiff8CryptoAPIDecrypter() [2/2]

XclImpBiff8CryptoAPIDecrypter::XclImpBiff8CryptoAPIDecrypter ( const XclImpBiff8CryptoAPIDecrypter rSrc)

Member Function Documentation

◆ OnClone()

XclImpBiff8CryptoAPIDecrypter * XclImpBiff8CryptoAPIDecrypter::OnClone ( ) const

Implementation of cloning this object.

Implements XclImpDecrypter.

Definition at line 243 of file xistream.cxx.

References XclImpBiff8CryptoAPIDecrypter().

Member Data Documentation

◆ maCodec

::msfilter::MSCodec_CryptoAPI XclImpBiff8CryptoAPIDecrypter::maCodec

Definition at line 193 of file xistream.hxx.

Referenced by XclImpBiff8CryptoAPIDecrypter().

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