Foxit PDF SDK

Public Member Functions | List of all members
com.foxit.sdk.pdf.SecurityCallback Class Reference
Inheritance diagram for com.foxit.sdk.pdf.SecurityCallback:

## Public Member Functions
int | getSecurityType ()
| Get the encryption type of security callback. More...
void | 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()

int com.foxit.sdk.pdf.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 com.foxit.sdk.pdf.PDFDoc.e_EncryptUnknown .

## ◆ release()

void com.foxit.sdk.pdf.SecurityCallback.release | ( |  | ) |

A callback function used to release current callback object itself.

Returns
  None.