pdfium/testing/resources/signature_reason.pdf
Miklos Vajna f893504566 Add FPDFSignatureObj_GetReason() API
This follows the same pattern as FPDFSignatureObj_GetSubFilter(), so the
client has to call this function twice, but allocation of the buffer
happens outside pdfium.

The string is user input, so work with UTF-16LE.

Change-Id: Ib8359b1f9e04c64d3a2dd082b4a34b2d25268eef
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/72310
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
2020-08-03 18:08:56 +00:00

1.7 KiB