tdf#84881: Add Windows implementation of timestamping of signature

Desktop / LibreOffice - Tor Lillqvist [collabora.com] - 26 February 2015 13:44 UTC

Luckily doable with much simpler code than the horrible NSS and curl mess used on Linux (and, sadly, OS X).

Basically only one new API call needed: CryptRetrieveTimestamp(). A few hours of work, compared to about a week for the Linux case.

However, amusingly, it causes the same message in Adobe Reader as when using the NSS code: "The signature includes an embedded timestamp but it could not be verified". Sigh.

0064610 tdf#84881: Add Windows implementation of timestamping of signature
vcl/source/gdi/pdfwriter_impl.cxx | 122 +++++++++++++++++++++++++++++++++++++
1 file changed, 122 insertions(+)

Upstream: cgit.freedesktop.org


  • Share