Foxit PDF SDK
fsdk.RMSSecurityCallback Class Reference

Public Member Functions

def 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 fsdk.LibraryRegisterSecurityCallback with filter "MicrosoftIRMServices" or "FoxitRMS". Function fsdk.LibraryUnregisterSecurityCallback can be called to unregister the security callback object with the registered filter name.

Member Function Documentation

◆ GetSecurityType()

def fsdk.RMSSecurityCallback.GetSecurityType ( )

Get the encryption type of security callback.

Note
User should not override this function, otherwise there will be unexpected behavior.
Returns
The encryption type. It would always be fsdk.PDFDocE_EncryptRMS .