diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-11-13 16:02:13 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-11-14 08:19:45 +0100 |
commit | d7f638f38fee26458e5e233c647248307f4e0f70 (patch) | |
tree | d0790222dd67e49a999575e0858fb98f94290a8e /include/sfx2/objsh.hxx | |
parent | Bin obsolete header (diff) | |
download | core-d7f638f38fee26458e5e233c647248307f4e0f70.tar.gz core-d7f638f38fee26458e5e233c647248307f4e0f70.zip |
Add unit test for reading ODF signed signatureline
Change-Id: I4423a32fe84c6f13457e92aa0de913ee22995119
Reviewed-on: https://gerrit.libreoffice.org/63333
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/sfx2/objsh.hxx')
-rw-r--r-- | include/sfx2/objsh.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index a7f65b619e60..ced0db56320d 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -362,6 +362,10 @@ public: bool HasValidSignatures(); SignatureState GetDocumentSignatureState(); void SignDocumentContent(weld::Window* pDialogParent); + css::uno::Sequence<css::security::DocumentSignatureInformation> GetDocumentSignatureInformation( + bool bScriptingContent, + const css::uno::Reference<css::security::XDocumentDigitalSignatures>& xSigner + = css::uno::Reference<css::security::XDocumentDigitalSignatures>()); bool SignDocumentContentUsingCertificate(const css::uno::Reference<css::security::XCertificate>& xCertificate); @@ -745,12 +749,6 @@ public: // configuration items SAL_DLLPRIVATE SignatureState ImplGetSignatureState( bool bScriptingContent = false ); - SAL_DLLPRIVATE css::uno::Sequence< css::security::DocumentSignatureInformation > - ImplAnalyzeSignature( - bool bScriptingContent, - const css::uno::Reference< css::security::XDocumentDigitalSignatures >& xSigner - = css::uno::Reference< css::security::XDocumentDigitalSignatures >() ); - SAL_DLLPRIVATE bool QuerySaveSizeExceededModules_Impl( const css::uno::Reference< css::task::XInteractionHandler >& xHandler ); SAL_DLLPRIVATE bool QueryAllowExoticFormat_Impl( const css::uno::Reference< css::task::XInteractionHandler >& xHandler, const OUString& rURL, |