summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_sec.h')
-rw-r--r--pdf/pdf_sec.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/pdf/pdf_sec.h b/pdf/pdf_sec.h
new file mode 100644
index 00000000..465d31f7
--- /dev/null
+++ b/pdf/pdf_sec.h
@@ -0,0 +1,23 @@
+/* Copyright (C) 2020-2021 Artifex Software, Inc.
+ All Rights Reserved.
+
+ This software is provided AS-IS with no warranty, either express or
+ implied.
+
+ This software is distributed under license and may not be copied,
+ modified or distributed except as expressly authorized under the terms
+ of the license contained in the file LICENSE in this distribution.
+
+ Refer to licensing information at http://www.artifex.com or contact
+ Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato,
+ CA 94945, U.S.A., +1(415)492-9861, for further information.
+*/
+
+#ifndef PDF_SECURITY
+#define PDF_SECURITY
+
+int pdfi_compute_objkey(pdf_context *ctx, pdf_obj *obj, pdf_string **Key);
+int pdfi_decrypt_string(pdf_context *ctx, pdf_string *string);
+int pdfi_initialise_Decryption(pdf_context *ctx);
+
+#endif