diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-06-26 12:32:48 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-06-27 09:25:32 +0200 |
commit | e2378bbf4539455e445205ad868c43246ec423ed (patch) | |
tree | ae512eae3b33b05ada35e06f1a65237cb4b7b3d9 /xmlsecurity/inc | |
parent | 9674704cb721f600d678788aa5d9392ad410c330 (diff) |
tdf#108711 GPG key selection should only be possible for ODF >= 1.2 documents
gpg4libre
Change-Id: I6dbdaefddacf55c9381d156ada20cb3f25d4b3cb
Reviewed-on: https://gerrit.libreoffice.org/39263
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/documentsignaturehelper.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmlsecurity/inc/documentsignaturehelper.hxx b/xmlsecurity/inc/documentsignaturehelper.hxx index c2b5b85e34a2..a8f3cb1f5d40 100644 --- a/xmlsecurity/inc/documentsignaturehelper.hxx +++ b/xmlsecurity/inc/documentsignaturehelper.hxx @@ -81,6 +81,9 @@ namespace DocumentSignatureHelper DocumentSignatureAlgorithm getDocumentAlgorithm( const OUString & sODFVersion, const SignatureInformation & sigInfo); + bool CanSignWithGPG(const css::uno::Reference < css::embed::XStorage >& rxStore, + const OUString& sOdfVersion); + bool checkIfAllFilesAreSigned( const ::std::vector< OUString > & sElementList, const SignatureInformation & sigInfo, const DocumentSignatureAlgorithm alg); |