summaryrefslogtreecommitdiff
path: root/include/oox/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/crypto')
-rw-r--r--include/oox/crypto/DocumentDecryption.hxx2
-rw-r--r--include/oox/crypto/Standard2007Engine.hxx5
2 files changed, 1 insertions, 6 deletions
diff --git a/include/oox/crypto/DocumentDecryption.hxx b/include/oox/crypto/DocumentDecryption.hxx
index 768cdbf6b275..1502c41f3d6e 100644
--- a/include/oox/crypto/DocumentDecryption.hxx
+++ b/include/oox/crypto/DocumentDecryption.hxx
@@ -59,7 +59,7 @@ public:
bool readEncryptionInfo();
bool generateEncryptionKey(const OUString& rPassword);
- com::sun::star::uno::Sequence< com::sun::star::beans::NamedValue > createEncryptionData();
+ com::sun::star::uno::Sequence< com::sun::star::beans::NamedValue > createEncryptionData(const OUString& rPassword);
static bool checkEncryptionData( const com::sun::star::uno::Sequence< com::sun::star::beans::NamedValue >& rEncryptionData );
};
diff --git a/include/oox/crypto/Standard2007Engine.hxx b/include/oox/crypto/Standard2007Engine.hxx
index c53ec22cd124..563a7105b5fa 100644
--- a/include/oox/crypto/Standard2007Engine.hxx
+++ b/include/oox/crypto/Standard2007Engine.hxx
@@ -89,11 +89,6 @@ public:
StandardEncryptionInfo& getInfo();
- static bool checkEncryptionData(
- std::vector<sal_uInt8> key, sal_uInt32 keySize,
- std::vector<sal_uInt8> encryptedVerifier, sal_uInt32 verifierSize,
- std::vector<sal_uInt8> encryptedHash, sal_uInt32 hashSize );
-
virtual bool generateEncryptionKey(const OUString& rPassword);
virtual bool writeEncryptionInfo(