#include <xestream.hxx>

Public Member Functions | |
| XclExpBiff8Encrypter (const XclExpRoot &rRoot, const sal_uInt8 nDocId[16], const sal_uInt8 nSalt[16]) | |
| ~XclExpBiff8Encrypter () | |
| bool | IsValid () const |
| void | GetSaltDigest (sal_uInt8 nSaltDigest[16]) const |
| void | Encrypt (SvStream &rStrm, sal_uInt8 nData) |
| void | Encrypt (SvStream &rStrm, sal_uInt16 nData) |
| void | Encrypt (SvStream &rStrm, sal_uInt32 nData) |
| void | Encrypt (SvStream &rStrm, sal_Int8 nData) |
| void | Encrypt (SvStream &rStrm, sal_Int16 nData) |
| void | Encrypt (SvStream &rStrm, sal_Int32 nData) |
| void | Encrypt (SvStream &rStrm, float fValue) |
| void | Encrypt (SvStream &rStrm, double fValue) |
| void | EncryptBytes (SvStream &rStrm,::std::vector< sal_uInt8 > &aBytes) |
| XclExpBiff8Encrypter (const XclExpRoot &rRoot, const sal_uInt8 nDocId[16], const sal_uInt8 nSalt[16]) | |
| ~XclExpBiff8Encrypter () | |
| bool | IsValid () const |
| void | GetSaltDigest (sal_uInt8 nSaltDigest[16]) const |
| void | Encrypt (SvStream &rStrm, sal_uInt8 nData) |
| void | Encrypt (SvStream &rStrm, sal_uInt16 nData) |
| void | Encrypt (SvStream &rStrm, sal_uInt32 nData) |
| void | Encrypt (SvStream &rStrm, sal_Int8 nData) |
| void | Encrypt (SvStream &rStrm, sal_Int16 nData) |
| void | Encrypt (SvStream &rStrm, sal_Int32 nData) |
| void | Encrypt (SvStream &rStrm, float fValue) |
| void | Encrypt (SvStream &rStrm, double fValue) |
| void | EncryptBytes (SvStream &rStrm,::std::vector< sal_uInt8 > &aBytes) |
Private Member Functions | |
| void | Init (const String &aPass, const sal_uInt8 nDocId[16], const sal_uInt8 nSalt[16]) |
| sal_uInt32 | GetBlockPos (sal_Size nStrmPos) const |
| sal_uInt16 | GetOffsetInBlock (sal_Size nStrmPos) const |
| void | Init (const String &aPass, const sal_uInt8 nDocId[16], const sal_uInt8 nSalt[16]) |
| sal_uInt32 | GetBlockPos (sal_Size nStrmPos) const |
| sal_uInt16 | GetOffsetInBlock (sal_Size nStrmPos) const |
Private Attributes | |
| ::svx::MSCodec_Std97 | maCodec |
| sal_uInt16 | mnPassw [16] |
| Crypto algorithm implementation. | |
| sal_uInt8 | mnDocId [16] |
| Cached password data for copy construction. | |
| sal_uInt8 | mnSaltDigest [16] |
| Cached document ID for copy construction. | |
| const XclExpRoot & | mrRoot |
| sal_Size | mnOldPos |
| bool | mbValid |
| Last known stream position. | |
Definition at line 220 of file inc/xestream.hxx.
| XclExpBiff8Encrypter::XclExpBiff8Encrypter | ( | const XclExpRoot & | rRoot, | |
| const sal_uInt8 | nDocId[16], | |||
| const sal_uInt8 | nSalt[16] | |||
| ) | [explicit] |
Definition at line 487 of file xestream.cxx.
References XclRoot::GetDefaultPassword(), XclExpRoot::GetPassword(), and Init().
| XclExpBiff8Encrypter::~XclExpBiff8Encrypter | ( | ) |
Definition at line 500 of file xestream.cxx.
| XclExpBiff8Encrypter::XclExpBiff8Encrypter | ( | const XclExpRoot & | rRoot, | |
| const sal_uInt8 | nDocId[16], | |||
| const sal_uInt8 | nSalt[16] | |||
| ) | [explicit] |
| XclExpBiff8Encrypter::~XclExpBiff8Encrypter | ( | ) |
| bool XclExpBiff8Encrypter::IsValid | ( | void | ) | const |
| void XclExpBiff8Encrypter::GetSaltDigest | ( | sal_uInt8 | nSaltDigest[16] | ) | const |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_uInt8 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_uInt16 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_uInt32 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_Int8 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_Int16 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_Int32 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| float | fValue | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| double | fValue | |||
| ) |
| void XclExpBiff8Encrypter::EncryptBytes | ( | SvStream & | rStrm, | |
| ::std::vector< sal_uInt8 > & | aBytes | |||
| ) |
Referenced by Encrypt().
| void XclExpBiff8Encrypter::Init | ( | const String & | aPass, | |
| const sal_uInt8 | nDocId[16], | |||
| const sal_uInt8 | nSalt[16] | |||
| ) | [private] |
Definition at line 568 of file xestream.cxx.
References svx::MSCodec_Std97::InitKey(), maCodec, mbValid, mnDocId, mnPassw, mnSaltDigest, and svx::MSCodec_Std97::VerifyKey().
Referenced by XclExpBiff8Encrypter().
| sal_uInt32 XclExpBiff8Encrypter::GetBlockPos | ( | sal_Size | nStrmPos | ) | const [private] |
| sal_uInt16 XclExpBiff8Encrypter::GetOffsetInBlock | ( | sal_Size | nStrmPos | ) | const [private] |
| bool XclExpBiff8Encrypter::IsValid | ( | ) | const |
| void XclExpBiff8Encrypter::GetSaltDigest | ( | sal_uInt8 | nSaltDigest[16] | ) | const |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_uInt8 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_uInt16 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_uInt32 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_Int8 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_Int16 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| sal_Int32 | nData | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| float | fValue | |||
| ) |
| void XclExpBiff8Encrypter::Encrypt | ( | SvStream & | rStrm, | |
| double | fValue | |||
| ) |
| void XclExpBiff8Encrypter::EncryptBytes | ( | SvStream & | rStrm, | |
| ::std::vector< sal_uInt8 > & | aBytes | |||
| ) |
| void XclExpBiff8Encrypter::Init | ( | const String & | aPass, | |
| const sal_uInt8 | nDocId[16], | |||
| const sal_uInt8 | nSalt[16] | |||
| ) | [private] |
| sal_uInt32 XclExpBiff8Encrypter::GetBlockPos | ( | sal_Size | nStrmPos | ) | const [private] |
| sal_uInt16 XclExpBiff8Encrypter::GetOffsetInBlock | ( | sal_Size | nStrmPos | ) | const [private] |
sal_uInt16 XclExpBiff8Encrypter::mnPassw [private] |
Crypto algorithm implementation.
Definition at line 253 of file inc/xestream.hxx.
Referenced by Init().
sal_uInt8 XclExpBiff8Encrypter::mnDocId [private] |
Cached password data for copy construction.
Definition at line 254 of file inc/xestream.hxx.
Referenced by Init().
sal_uInt8 XclExpBiff8Encrypter::mnSaltDigest [private] |
Cached document ID for copy construction.
Definition at line 255 of file inc/xestream.hxx.
Referenced by GetSaltDigest(), and Init().
const XclExpRoot & XclExpBiff8Encrypter::mrRoot [private] |
Definition at line 257 of file inc/xestream.hxx.
sal_Size XclExpBiff8Encrypter::mnOldPos [private] |
Definition at line 258 of file inc/xestream.hxx.
bool XclExpBiff8Encrypter::mbValid [private] |
1.5.6