office-gobmx/xmlsecurity/inc
Miklos Vajna 40ba7a5c25 cool#9992 lok doc sign: implement signature removal
Open an already signed document, click on the sign icon on the status
bar, notice how the button to remove a signature is hidden.

This was added in commit 71a8bad4b9
(jsdialog: enable Digital Signatures dialog, 2022-01-24), which exposed
the signatures dialog as a read-only jsdialog. The dialog was improved
recently to be a read-write jsdialog, so this is no longer needed.

But then DigitalSignaturesDialog::canRemove() had an inner non-async
message dialog. Fix that by converting canRemove() to async.

An additional problem could be that the document is not marked as
modified, so the LOK client code doesn't notice the document is updated
(to not have a signature), but we do update the last mod timestamp of
the file, which is meant to be enough.

Change-Id: I8e7ee22e4b1b8ce59dee3617bb2f22f8d734f31d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173428
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-09-16 16:26:18 +02:00
..
framework
gpg
pch
xmlsec
biginteger.hxx
bitmaps.hlst
certificate.hxx
certificatechooser.hxx
certificateviewer.hxx
digitalsignaturesdialog.hxx cool#9992 lok doc sign: implement signature removal 2024-09-16 16:26:18 +02:00
documentsignaturehelper.hxx [API CHANGE] XDocumentDigitalSignatures: remove deprecated / unused functions 2024-09-13 10:27:14 +02:00
documentsignaturemanager.hxx
macrosecurity.hxx
pdfsignaturehelper.hxx
resourcemanager.hxx
strings.hrc
UriBindingHelper.hxx
xmlsecuritydllapi.h
xmlsignaturehelper.hxx
xsecctl.hxx
xsecxmlsecdllapi.h