Foxit PDF SDK

List of all members
<FSRMSSecurityCallback> Protocol Reference
Inheritance diagram for <FSRMSSecurityCallback>:

## Additional Inherited Members
Instance Methods inherited from <FSCustomSecurityCallback>
(void *) | - createContext:sub_filter:encrypt_info:
| A callback function used to create context for encryption and decryption. More...
(NSData *) | - decryptData:encrypted_data:encrypted_data_len:
| A callback function used to decrypt the encrypted data. More...
(BOOL) | - encryptData:obj_num:gen_num:src_data:src_data_len:out_dst_buffer:out_dst_buffer_len:
| A callback function used to get encrypted data. More...
(NSData *) | - finishDecryptor:
| A callback function used to finish the decryption. More...
(FSSecurityHandlerCipherType) | - getCipher:
| A callback function used to get the cipher type. More...
(unsigned int) | - getDecryptedSize:src_data_size:
| A callback function used to get the estimated decrypted data size. More...
(unsigned int) | - getEncryptedSize:obj_num:gen_num:src_data:src_data_len:
| A callback function used to get the estimated encrypted size. More...
(NSData *) | - getEncryptKey:
| A callback function used to get the encryption key. More...
(unsigned int) | - getUserPermissions:user_permission:
| A callback function used to get the user permissions. More...
(BOOL) | - isOwner:
| A callback function used to check if current user is the owner of the PDF document. More...
(BOOL) | - releaseContext:
| A callback function used to release the context for encryption and decryption. More...
(void *) | - startDecryptor:obj_num:gen_num:
| A callback function used to start a decryption. More...
(BOOL) | - useStandardCryptoMethod:
| A callback function to check if to use stanard crypto method or custom crypto method. More...
Instance Methods inherited from <FSSecurityCallback>
(FSPDFDocEncryptType) | - GetSecurityType
| Get the encryption type of security callback. 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 FSLibrary::registerSecurityCallback:callback: with filter "MicrosoftIRMServices". Function FSLibrary::unregisterSecurityCallback: can be called to unregister the security callback object with the registered filter name.