Public Member Functions | |
int | getSecurityType () |
Get the encryption type of security callback. More... | |
![]() | |
java.lang.Object | createContext (String filter, String sub_filter, String encrypt_info) |
A callback function used to create context for encryption and decryption. More... | |
boolean | encryptData (java.lang.Object context, int obj_num, int gen_num, byte[] src_data, byte[] out_dst_buffer) |
A callback function used to get encrypted data. More... | |
int | getCipher (java.lang.Object context) |
A callback function used to get the cipher type. More... | |
int | getDecryptedSize (java.lang.Object context, int src_data_size) |
A callback function used to get the estimated decrypted data size. More... | |
int | getEncryptedSize (java.lang.Object context, int obj_num, int gen_num, byte[] src_data) |
A callback function used to get the estimated encrypted size. More... | |
int | getSecurityType () |
Get the encryption type of security callback. More... | |
int | getUserPermissions (java.lang.Object context, int user_permission) |
A callback function used to get the user permissions. More... | |
boolean | isOwner (java.lang.Object context) |
A callback function used to check if current user is the owner of the PDF document. More... | |
boolean | releaseContext (java.lang.Object context) |
A callback function used to release the context for encryption and decryption. More... | |
java.lang.Object | startDecryptor (java.lang.Object context, int obj_num, int gen_num) |
A callback function used to start a decryption. More... | |
![]() | |
int | getSecurityType () |
Get the encryption type of security callback. More... | |
void | release () |
A callback function used to release current callback object itself. More... | |
This class represents a callback object for RMS decryption and encryption. If user wants to use RMS security callback, user should inherit this callback class and implement the pure virtual functions (as callback functions), and then register the RMS security callback object to Foxit PDF SDK by function common.Library.registerSecurityCallback with filter "MicrosoftIRMServices". Function common.Library.unregisterSecurityCallback can be called to unregister the security callback object with the registered filter name.
int com.foxit.sdk.pdf.RMSSecurityCallback.getSecurityType | ( | ) |
Get the encryption type of security callback.