11#ifndef INCLUDED_OOX_CRYPTO_STANDARD2007ENGINE_HXX
12#define INCLUDED_OOX_CRYPTO_STANDARD2007ENGINE_HXX
17#include <rtl/ustring.hxx>
21 class BinaryXInputStream;
22 class BinaryXOutputStream;
31 bool generateVerifier();
32 bool calculateEncryptionKey(std::u16string_view rPassword);
37 bool readEncryptionInfo(css::uno::Reference<css::io::XInputStream> & rxInputStream)
override;
39 virtual bool generateEncryptionKey(OUString
const & rPassword)
override;
45 bool checkDataIntegrity()
override;
47 void encrypt(
const css::uno::Reference<css::io::XInputStream>& rxInputStream,
48 css::uno::Reference<css::io::XOutputStream>& rxOutputStream,
49 sal_uInt32 nSize)
override;
53 virtual bool setupEncryption(OUString
const & rPassword)
override;
Wraps a UNO output stream and provides convenient access functions.
Standard2007Engine()=default
msfilter::StandardEncryptionInfo mInfo