office-gobmx/xmlsecurity/inc
Miklos Vajna a581dbf982 cool#9992 lok doc sign: only take sign cert from the view in the cert chooser
Have two views, in case both of them haver sign certs configured in the
NSS database, then the cert chooser would present both, which is not
wanted.

The problem is that the NSS database contains sign certs from all views,
so working from the database is not what we want for the LOK case.

Fix the problem by passing the SfxViewShell from the sign dialog to the
certificate chooser dialog, and then the chooser can work from the view
in LOK mode.

Searching for other uses of getPersonalCertificates(), the comphelper/
one is not relevant for the LOK case (gpg is disabled there); the PDF
case is only for the UNO API, so those don't necessarily need adjusting.

Change-Id: Ic7027b8d218b2bde3c8bf134a4b11c14fd9c3570
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174002
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-09-27 10:01:30 +02:00
..
framework
gpg
pch
xmlsec
biginteger.hxx
bitmaps.hlst
certificate.hxx
certificatechooser.hxx cool#9992 lok doc sign: only take sign cert from the view in the cert chooser 2024-09-27 10:01:30 +02:00
certificateviewer.hxx
digitalsignaturesdialog.hxx cool#9992 lok doc sign: only take sign cert from the view in the cert chooser 2024-09-27 10:01:30 +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