summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2017-12-14 13:23:04 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-01-13 14:32:48 +0100
commitca6f3d7a56a3a028618413a811775328449264bf (patch)
treefcfe17231a51af1407458bf5ad96505f5eedd211 /include
parentd17bff6e0324dfa013681efd7e0107d3cd5ad2be (diff)
gpg4libre: open encrypted files also via gpg
Adds code to sfx2 and package to try gpg4libre for extracting session keys, and use them in turn to decrypt odf storage. Change-Id: I1f626143e6c8443b4ad0c4fc5bdbd5ab8d56a451 Reviewed-on: https://gerrit.libreoffice.org/47780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/docpasswordhelper.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/comphelper/docpasswordhelper.hxx b/include/comphelper/docpasswordhelper.hxx
index 2ef3e040af1a..e420cf3e69af 100644
--- a/include/comphelper/docpasswordhelper.hxx
+++ b/include/comphelper/docpasswordhelper.hxx
@@ -277,6 +277,9 @@ public:
const ::std::vector< OUString >* pDefaultPasswords = nullptr,
bool* pbIsDefaultPassword = nullptr );
+ static css::uno::Sequence< css::beans::NamedValue > decryptGpgSession(
+ const css::uno::Sequence< css::uno::Sequence< css::beans::NamedValue > >& rGpgProperties);
+
private:
~DocPasswordHelper();
};