Represents security information from PDF public key (certificate based) security handling. Inherits from IDOMStandardPDFSecurityInfo, from which it diverges in a modest fashion. More...
#include <idomsecurity.h>
Public Types | |
enum | ePublicKeyPermissionsFlags { eChangeEncryptionAllowed = 0x0002 } |
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 | |
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 | |
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 isEditingAnnotationsAllowed(), isFillingFormAllowed() and isDocAssemblyAllowed() is allowed. | |
bool | isCopyingAllowed () const |
Returns true if copying of text and graphics from the document for operations other than those specified by isExtractionAllowed() 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. | |
Represents security information from PDF public key (certificate based) security handling. Inherits from IDOMStandardPDFSecurityInfo, from which it diverges in a modest fashion.
|
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.