diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-09-23 13:58:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-09-23 17:49:28 +0200 |
commit | 90beea9a9a9ab1a5d4a154704acabadfc83870c9 (patch) | |
tree | fffab1969fd86caa29a76c65b62ecdd8a045b391 /include/cppuhelper/bootstrap.hxx | |
parent | 2be38378f1e1b939986403aa766d6783c234ef0a (diff) |
cool#9992 lok doc sign: handle .uno:SignatureCert/Key/Ca view options
The desktop way to sign documents is to manually import a .p12 file into
your Firefox user profile, and then the signing key is available in all
views. The LOK case wants per-view signing certificates, set in a way
similar to the name of the user.
Start implementing this by:
1) Extending initializeForRendering() to have JSON entries for the
signing cert/key/ca chain.
2) Importing the CA chain as trusted certificates, using a new
SfxLokHelper::extractCertificates() + test for this.
3) Marking a certificate as trusted is tricky, extract
SfxLokHelper::addCertificate() from the existing doc_addCertificate()
to do this.
4) Parsing the signing certificate, but just warn if that fails, still
need to connect that to the SfxViewShell later.
Change-Id: I00e40b3cdd68dbe8994f28861dc7b0f578189643
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173806
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/cppuhelper/bootstrap.hxx')
0 files changed, 0 insertions, 0 deletions