diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-04-20 12:19:12 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-05-15 16:16:22 +0200 |
commit | 86e8cfdd54ac1b9413f0c86cbc23a80162806685 (patch) | |
tree | e62c721f66cb95490fcedc41d3c22303d89de182 /offapi/com/sun/star | |
parent | 863d2485e60251ac45b019b2c58ced7cfc9d978e (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.
Change-Id: Ib8bc8c57f9d5370a10e379f86f9e41e57c715e3f
Reviewed-on: https://gerrit.libreoffice.org/53778
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'offapi/com/sun/star')
-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 519f77cb62dd..671ded681d17 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> |