handle signature status and prepare document signing in WSD

This adds handling of signature status (manually request for the
status or as a callback) in WSD.

In addition prepare support for signing of document, but don't yet
trigger the actual LOKit function (needs the JS building blocks
set up first to know how to handle the payload - certificate and
private key)

Change-Id: Ic76baa5847bb52adde616338187d5979e0093c6d
Reviewed-on: https://gerrit.libreoffice.org/62533
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
This commit is contained in:
Tomaž Vajngerl
2018-10-29 23:34:14 +01:00
committed by Tomaž Vajngerl
parent 0ff045609e
commit 852ed5d981
5 changed files with 51 additions and 1 deletions

View File

@ -82,6 +82,7 @@ extern "C"
CASE(WINDOW);
CASE(VALIDITY_LIST_BUTTON);
CASE(CLIPBOARD_CHANGED);
CASE(SIGNATURE_STATUS);
#undef CASE
}
std::cout << " payload: " << payload << std::endl;