Foxit PDF SDK  9.1
FSRMSSecurityHandler Class Reference
Inheritance diagram for FSRMSSecurityHandler:
FSSecurityHandler FSBase

Instance Methods

(void) - dealloc
 
(void *) - getCptr
 
(id) - init
 Constructor.
More...
 
(BOOL) - initialize:callback:
 Initialize current Microsoft RMS security handler.
More...
 
(id) - initWithCptr:swigOwnCObject:
 
(id) - initWithOther:
 Constructor, with parent class object.
More...
 
- Instance Methods inherited from FSSecurityHandler
(FSPDFDocEncryptType- getSecurityType
 Get the encryption type of current security handler.
More...
 
(BOOL) - isEmpty
 Check whether current object is empty or not.
More...
 

Additional Inherited Members

- Protected Attributes inherited from FSBase
BOOL swigCMemOwn
 
void * swigCPtr
 

Detailed Description

This class represents a RMS security handler, used for RMS encryption.

Note
If module "RMS" is not defined in the license information which is used in function FSLibrary::initialize:key:, that means user has no right in using RMS related functions and valid RMS security handler would not be constructed successfully and exception FSErrNoRMSModuleRight would be thrown.
See also
FSSecurityHandler

Method Documentation

◆ dealloc

- (void) dealloc

Reimplemented from FSSecurityHandler.

◆ getCptr

- (void*) getCptr

Reimplemented from FSSecurityHandler.

◆ init

- (id) init

Constructor.

Note
If module "RMS" is not defined in the license information which is used in function FSLibrary::initialize:key:, that means user has no right in using RMS related functions and this constructor will throw exception FSErrNoRMSModuleRight.

Reimplemented from FSSecurityHandler.

◆ initialize:callback:

- (BOOL) initialize: (FSRMSEncryptData*)  encrypt_data
callback: (id<FSRMSSecurityCallback>)  callback 

Initialize current Microsoft RMS security handler.

If this function is successfully, Foxit PDF SDK will take over the input security callback object and user should not release this callback object directly anymore; otherwise unexpected crash may occurs later.

Parameters
[in]encrypt_dataA RMS encrypt data object.
[in]callbackA valid object, which is inherited and implemented by user for their own encryption and description algorithm. It should not be nil.
Returns

◆ initWithCptr:swigOwnCObject:

- (id) initWithCptr: (void *)  cptr
swigOwnCObject: (BOOL)  ownCObject 

Reimplemented from FSSecurityHandler.

◆ initWithOther:

- (id) initWithOther: (FSSecurityHandler*)  other

Constructor, with parent class object.

Parameters
[in]otherParent class object.
Note
If module "RMS" is not defined in the license information which is used in function FSLibrary::initialize:key:, that means user has no right in using RMS related functions and this constructor will throw exception FSErrNoRMSModuleRight.

Reimplemented from FSSecurityHandler.