Foxit PDF SDK

Public Member Functions | List of all members
FoxitPDFSDKPython2.SecurityCallback Class Reference
Inheritance diagram for FoxitPDFSDKPython2.SecurityCallback:

## 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 FoxitPDFSDKPython2.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 FoxitPDFSDKPython2.PDFDoc.e_EncryptUnknown .

Reimplemented in FoxitPDFSDKPython2.RMSSecurityCallback, FoxitPDFSDKPython2.CustomSecurityCallback, FoxitPDFSDKPython2.DRMSecurityCallback, and FoxitPDFSDKPython2.CertificateSecurityCallback.

## ◆ Release()

def FoxitPDFSDKPython2.SecurityCallback.Release | ( |  | ) |

A callback function used to release current callback object itself.

Returns
  None.