summaryrefslogtreecommitdiff
path: root/include/oox/crypto/Standard2007Engine.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/crypto/Standard2007Engine.hxx')
-rw-r--r--include/oox/crypto/Standard2007Engine.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/oox/crypto/Standard2007Engine.hxx b/include/oox/crypto/Standard2007Engine.hxx
index 76ef3c866883..0af88eada1d7 100644
--- a/include/oox/crypto/Standard2007Engine.hxx
+++ b/include/oox/crypto/Standard2007Engine.hxx
@@ -29,14 +29,18 @@ namespace core {
class OOX_DLLPUBLIC Standard2007Engine : public CryptoEngine
{
msfilter::StandardEncryptionInfo mInfo;
+ std::vector<sal_uInt8> mKey;
+ css::uno::Reference< css::uno::XComponentContext > mxContext;
bool generateVerifier();
bool calculateEncryptionKey(const OUString& rPassword);
+ css::uno::Reference<css::io::XInputStream> getStream(css::uno::Sequence<css::beans::NamedValue> & rStreams, const OUString sStreamName);
+
public:
- Standard2007Engine() = default;
+ Standard2007Engine(const css::uno::Reference<css::uno::XComponentContext>& rxContext);
- bool readEncryptionInfo(oox::ole::OleStorage& rOleStorage) override;
+ bool readEncryptionInfo(css::uno::Sequence<css::beans::NamedValue> aStreams) override;
virtual bool generateEncryptionKey(OUString const & rPassword) override;