summaryrefslogtreecommitdiff
path: root/include/mupdf/pdf.h
diff options
context:
space:
mode:
authorPaul Gardiner <paul.gardiner@artifex.com>2018-01-19 12:14:20 +0000
committerPaul Gardiner <paul.gardiner@artifex.com>2018-02-02 12:36:13 +0000
commit37e3d2aac1a3493171b28aa5c7344833aa5a8303 (patch)
treeefb2c334219cbdfd09a4920cb9cbea10813e6fdc /include/mupdf/pdf.h
parent1ebb2db0aaa6b5212152dd0f32d781fa81b6bcaa (diff)
downloadmupdf-37e3d2aac1a3493171b28aa5c7344833aa5a8303.tar.xz
Signature support: separate pkcs7 specifics into a separate file.
Previously, pdf-pkcs7.c contained mishmash of functions required for creating and checking signatures, with no separation between the parts relating to pdf and those relating to pkcs7. This commit introduces pdf_signature.c which contains the pdf specifics, leaving pdf-pkcs7.c to be purely pkcs7 functions. This should more easily allow the use of pkcs7 solutions other than openssl. The pkcs7 api is declared in pdf-pkcs7.h. It is entirely free of mupdf specifics, other than using an fz_stream to specify the bytes to be hashed.
Diffstat (limited to 'include/mupdf/pdf.h')
-rw-r--r--include/mupdf/pdf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mupdf/pdf.h b/include/mupdf/pdf.h
index eab70ee9..f593e680 100644
--- a/include/mupdf/pdf.h
+++ b/include/mupdf/pdf.h
@@ -31,6 +31,8 @@ extern "C" {
#include "mupdf/pdf/clean.h"
+#include "mupdf/pdf/pdf-pkcs7.h"
+
#ifdef __cplusplus
}
#endif