![]() |
Mako 8.2.0 API
MakoCore SDK API Documentation
|
Represents security information from PDF public key (certificate based) security handling. Inherits from IDOMStandardPDFSecurityInfo, from which it diverges in a modest fashion. More...
#include <edl/idomsecurity.h>
Public Types | |
enum | ePublicKeyPermissionsFlags { eChangeEncryptionAllowed = 0x0002 } |
An additional flag over and above that provided by IDOMStandardPDFSecurityInfo. More... | |
Public Types inherited from IDOMStandardPDFSecurityInfo | |
enum | ePermissionsFlags { ePrintAllowed = 0x0004 , eEditingAllowed = 0x0008 , eCopyingAllowed = 0x0010 , eAnnotationEditingAllowed = 0x0020 , eFormFillingAllowed = 0x0100 , eContentAccessibilityExtractionAllowed = 0x0200 , eDocumentAssemblyAllowed = 0x0400 , eHighQualityPrintAllowed = 0x0800 , eEverythingAllowed = 0x0ffc } |
Bit values for each permission flag as available from getPermissionFlags. More... |
Public Member Functions | |
DECLARE_CLASS_ID (IDOMPublicKeyPDFSecurityInfoClassID) | |
virtual bool | isOwnerAccess () const =0 |
Returns true if the input has permissions to change input encryption settings, effectively granting owner access. | |
virtual EDLSysString | getUserPassword () const |
The password is never returned for public key cryptography. | |
Public Member Functions inherited from IDOMStandardPDFSecurityInfo | |
DECLARE_CLASS_ID (IDOMStandardPDFSecurityInfoClassID) | |
virtual int32 | getHandlerRevision () const =0 |
Retrieves the revision of the handler. | |
virtual bool | encryptMetadata () const =0 |
Returns true if document level metadata stream is to be encrypted meaningful only when algorithm code = 4. | |
bool | isPrintingAllowed () const |
Returns true if printing is allowed. | |
bool | isHighQualityPrintingAllowed () const |
Returns true if high quality printing is allowed. | |
bool | isEditingAllowed () const |
Returns true if modification of the contents by operations other than those specified by isAnnotationEditingAllowed(), isFillingFormsAllowed() and isDocumentAssemblyAllowed() is allowed. | |
bool | isCopyingAllowed () const |
Returns true if copying of text and graphics from the document for operations other than those specified by isContentAccessibilityExtractionAllowed() is allowed. | |
bool | isAnnotationEditingAllowed () const |
Returns true if editing of annotations and forms is allowed. | |
bool | isFillingFormsAllowed () const |
Returns true if form-filling is allowed. | |
bool | isContentAccessibilityExtractionAllowed () const |
Returns true if extracting for content accessibility is allowed. | |
bool | isDocumentAssemblyAllowed () const |
Returns true if document assembly is allowed. | |
virtual uint32 | getPermissionFlags () const =0 |
Retrieve the raw permissions flags according to the PDF 1.7 spec, table 3.2.0. These should be interpreted with regard to the handler revision, as some flags are not available for all security handler revisions. | |
Public Member Functions inherited from IDOMPDFSecurityInfo | |
virtual EDLSysString | getSecurityHandlerName () const =0 |
Retrieves the name of the security handler. | |
virtual int32 | getAlgorithmCode () const =0 |
Retrieves encryption algorithm code (0, 1, 2, 3, 4 or 5) | |
virtual int32 | getKeyLength () const =0 |
Retrieves the length of the encryption key (rnagind from 40 to 256) | |
Public Member Functions inherited from IEDLObject | |
virtual const CClassID & | getClassID () const =0 |
Returns class ID of IEDLObject. | |
virtual bool | init (CClassParams *pData) |
The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory. | |
virtual bool | clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory) |
Create a copy of EDLObject. | |
Public Member Functions inherited from IRCObject | |
virtual void | addRef () const =0 |
Increases the reference count of the actual object pointed to. This would take place during an assignment or copying. | |
virtual bool | decRef () const =0 |
Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to. | |
virtual int32 | getRefCount () const =0 |
Retrieve the current reference count of the actual object pointed to. |
Additional Inherited Members | |
Protected Member Functions inherited from IRCObject | |
virtual | ~IRCObject () |
Virtual destructor. |
Represents security information from PDF public key (certificate based) security handling. Inherits from IDOMStandardPDFSecurityInfo, from which it diverges in a modest fashion.
IDOMPublicKeyPDFSecurityInfo::DECLARE_CLASS_ID | ( | IDOMPublicKeyPDFSecurityInfoClassID | ) |
|
inlinevirtual |
The password is never returned for public key cryptography.
Implements IDOMStandardPDFSecurityInfo.
|
pure virtual |
Returns true if the input has permissions to change input encryption settings, effectively granting owner access.
Implements IDOMStandardPDFSecurityInfo.