Mako 7.4.0 API
Loading...
Searching...
No Matches
IDOMPublicKeyPDFSecurityInfo Class Referenceabstract

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>

Inheritance diagram for IDOMPublicKeyPDFSecurityInfo:

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.
 

Detailed Description

Represents security information from PDF public key (certificate based) security handling. Inherits from IDOMStandardPDFSecurityInfo, from which it diverges in a modest fashion.

Member Enumeration Documentation

◆ ePublicKeyPermissionsFlags

Enumerator
eChangeEncryptionAllowed 

Allow encryption parameters to be changed. Effectively grants ownership access.

Member Function Documentation

◆ getUserPassword()

virtual EDLSysString IDOMPublicKeyPDFSecurityInfo::getUserPassword ( ) const
inlinevirtual

The password is never returned for public key cryptography.

Returns
EDLSysString Always an empty string

Implements IDOMStandardPDFSecurityInfo.

◆ isOwnerAccess()

virtual bool IDOMPublicKeyPDFSecurityInfo::isOwnerAccess ( ) const
pure virtual

Returns true if the input has permissions to change input encryption settings, effectively granting owner access.

Returns
bool

Implements IDOMStandardPDFSecurityInfo.


The documentation for this class was generated from the following file: