diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-04-20 12:19:12 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-11-08 13:49:09 +0100 |
commit | a797afa58cd441cb7de5e1fe2845c3eff2e9001b (patch) | |
tree | 33292431b72f732558e7bfd0f9792a3878f78049 /offapi | |
parent | 1ed7d2fef309a8a71b837d355099732c49cde887 (diff) |
Sign Signature Line
This adds a new context menu entry "Sign Signature Line" to signature lines.
You can directly sign the document from there.
Still missing is the updating of the graphic to reflect the valid/invalid
signature state.
Reviewed-on: https://gerrit.libreoffice.org/53778
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
(cherry picked from commit 86e8cfdd54ac1b9413f0c86cbc23a80162806685)
Conflicts:
cui/source/dialogs/SignSignatureLineDialog.cxx
xmlsecurity/source/component/documentdigitalsignatures.cxx
Change-Id: Ib8bc8c57f9d5370a10e379f86f9e41e57c715e3f
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/security/XDocumentDigitalSignatures.idl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl b/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl index 4d51192c557f..69d86af35a8a 100644 --- a/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl +++ b/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl @@ -46,6 +46,17 @@ interface XDocumentDigitalSignatures : com::sun::star::uno::XInterface boolean signDocumentContent( [in] ::com::sun::star::embed::XStorage xStorage, [in] ::com::sun::star::io::XStream xSignStream); + /** Signs the content of the document including text and pictures + using the given XCertificate + + Macros will not be signed. + + @since LibreOffice 6.1 + */ + boolean signDocumentContentWithCertificate( [in] ::com::sun::star::embed::XStorage xStorage, + [in] ::com::sun::star::io::XStream xSignStream, + [in] ::com::sun::star::security::XCertificate xCertificate); + /** checks for digital signatures and their status. <p>Only document content will be checked.</p> |