4#ifndef PDF_ENCRYPT_SESSION
5#define PDF_ENCRYPT_SESSION
15 PODOFO_PRIVATE_FRIEND(
class PdfParser);
25 PdfEncrypt& GetEncrypt() {
return *m_Encrypt; }
26 PdfEncryptContext& GetContext() {
return m_Context; }
28 bool HasOwnerPermissions() {
return m_Context.GetAuthResult() == PdfAuthResult::Owner; }
34 std::shared_ptr<PdfEncrypt> m_Encrypt;
35 PdfEncryptContext m_Context;
A bundle of the encrypt object together a context.
Definition PdfEncryptSession.h:13
A class that is used to encrypt a PDF file and set document permissions on the PDF file.
Definition PdfEncrypt.h:111
PdfMemDocument is the core class for reading and manipulating PDF files and writing them back to disk...
Definition PdfMemDocument.h:35
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:30
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13