foxit::pdf::SecurityCallback Class Referenceabstract
Inheritance diagram for foxit::pdf::SecurityCallback:
foxit::pdf::CertificateSecurityCallback foxit::pdf::CustomSecurityCallback foxit::pdf::DRMSecurityCallback foxit::pdf::RMSSecurityCallback

Public Member Functions

virtual PDFDoc::EncryptType GetSecurityType ()
 Get the encryption type of security callback. More...
 
virtual void Release ()=0
 A callback function used to release current callback object itself. More...
 

Detailed Description

This is just the base class for other concrete security callback object. User should not inherit this class directly when implementing a security callback for any type of decryption and encryption. User should inherit any derived callback class of this base class.

Member Function Documentation

◆ GetSecurityType()

virtual PDFDoc::EncryptType foxit::pdf::SecurityCallback::GetSecurityType ( )
inlinevirtual

Get the encryption type of security callback.

Returns
The encryption type. If current callback object does not represent any specified type of security callback, it would return PDFDoc::e_EncryptUnknown.

Reimplemented in foxit::pdf::RMSSecurityCallback, foxit::pdf::CustomSecurityCallback, foxit::pdf::DRMSecurityCallback, and foxit::pdf::CertificateSecurityCallback.

◆ Release()

virtual void foxit::pdf::SecurityCallback::Release ( )
pure virtual

A callback function used to release current callback object itself.

Returns
None.

Foxit Software Corporation Logo
@2019 Foxit Software Incorporated. All rights reserved.