LibreOffice Module sc (master) 1
|
#include <xistream.hxx>
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 ErrCode & | GetError () 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 XclImpBiff8CryptoAPIDecrypter * | OnClone () 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_uInt8 > | maSalt |
std::vector< sal_uInt8 > | maVerifier |
std::vector< sal_uInt8 > | maVerifierHash |
msfilter::MSCodec97 * | mpCodec |
Definition at line 174 of file xistream.hxx.
|
inlineexplicit |
Definition at line 177 of file xistream.hxx.
References maCodec, and XclImpBiff8Decrypter::mpCodec.
Referenced by OnClone().
|
explicitprivate |
Private copy c'tor for OnClone().
Definition at line 235 of file xistream.cxx.
References msfilter::MSCodec97::InitCodec(), XclImpDecrypter::IsValid(), maCodec, XclImpBiff8Decrypter::maEncryptionData, and XclImpBiff8Decrypter::mpCodec.
|
overrideprivatevirtual |
Implementation of cloning this object.
Implements XclImpDecrypter.
Definition at line 243 of file xistream.cxx.
References XclImpBiff8CryptoAPIDecrypter().
|
private |
Definition at line 193 of file xistream.hxx.
Referenced by XclImpBiff8CryptoAPIDecrypter().