Foxit PDF SDK
fsdk.SecurityCallback Class Reference

Public Member Functions

def GetSecurityType ()
 Get the encryption type of security callback. More...
 
def Release ()
 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()

def fsdk.SecurityCallback.GetSecurityType ( )

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 fsdk.PDFDocE_EncryptUnknown .

◆ Release()

def fsdk.SecurityCallback.Release ( )

A callback function used to release current callback object itself.

Returns
None.