Foxit PDF SDK

List of all members
FSDK.RMSSecurityCallback Class Reference
Inheritance diagram for FSDK.RMSSecurityCallback:

## Additional Inherited Members
Public Member Functions inherited from FSDK.CustomSecurityCallback
| CreateContext (filter, sub_filter, encrypt_info)
| A callback function used to create context for encryption and decryption. More...
| DecryptData (decryptor, encrypted_data, encrypted_data_len)
| A callback function used to decrypt the encrypted data. More...
| FinishDecryptor (decryptor)
| A callback function used to finish the decryption. More...
| GetCipher (context)
| A callback function used to get the cipher type. More...
| GetEncryptedSize (context, obj_num, gen_num, src_data, src_data_len) EncryptData(context
| A callback function used to get the estimated encrypted size. More...
| GetEncryptKey (context) GetDecryptedSize(context
| A callback function used to get the encryption key. More...
| IsOwner (context)
| A callback function used to check if current user is the owner of the PDF document. More...
| ReleaseContext (context) GetUserPermissions(context
| A callback function used to release the context for encryption and decryption. More...
| StartDecryptor (context, obj_num, gen_num)
| A callback function used to start a decryption. More...

## Detailed Description

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 FSDK.Library.RegisterSecurityCallback with filter "MicrosoftIRMServices" or "FoxitRMS". Function FSDK.Library.UnregisterSecurityCallback can be called to unregister the security callback object with the registered filter name.