diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2018-01-19 12:14:20 +0000 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2018-02-02 12:36:13 +0000 |
commit | 37e3d2aac1a3493171b28aa5c7344833aa5a8303 (patch) | |
tree | efb2c334219cbdfd09a4920cb9cbea10813e6fdc /platform/win32 | |
parent | 1ebb2db0aaa6b5212152dd0f32d781fa81b6bcaa (diff) | |
download | mupdf-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 'platform/win32')
-rw-r--r-- | platform/win32/libmupdf.vcproj | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/win32/libmupdf.vcproj b/platform/win32/libmupdf.vcproj index 573b0561..17217a68 100644 --- a/platform/win32/libmupdf.vcproj +++ b/platform/win32/libmupdf.vcproj @@ -2161,6 +2161,10 @@ > </File> <File + RelativePath="..\..\source\pdf\pdf-signature.c" + > + </File> + <File RelativePath="..\..\source\pdf\pdf-store.c" > </File> @@ -2284,6 +2288,10 @@ > </File> <File + RelativePath="..\..\include\mupdf\pdf\pdf-pkcs7.h" + > + </File> + <File RelativePath="..\..\include\mupdf\pdf\resource.h" > </File> |