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

Instance Methods

(void) - dealloc
 
(void *) - getCptr
 
(id) - init
 Constructor.
More...
 
(BOOL) - initialize:cipher:is_encrypt_metadata:
 Initialize current certificate security handler.
More...
 
(BOOL) - initialize:encrypt_key:
 
(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 certificate security handler, used for certificate encryption.

See also
FSSecurityHandler

Method Documentation

◆ dealloc

- (void) dealloc

Reimplemented from FSSecurityHandler.

◆ getCptr

- (void*) getCptr

Reimplemented from FSSecurityHandler.

◆ init

- (id) init

Constructor.

Reimplemented from FSSecurityHandler.

◆ initialize:cipher:is_encrypt_metadata:

- (BOOL) initialize: (FSEnvelopeArray*)  envelopes
cipher: (FSSecurityHandlerCipherType cipher
is_encrypt_metadata: (BOOL)  is_encrypt_metadata 

Initialize current certificate security handler.

Parameters
[in]envelopesAn array of envelopes.
[in]cipherCipher type. Please refer to values starting from FSSecurityHandlerCipherRC4 and this should be one of these values except FSSecurityHandlerCipherNone.
[in]is_encrypt_metadataYES means to encrypt metadata, and NO means not to encrypt metadata.
Returns
YES means success, while NO means failure.

◆ initialize:encrypt_key:

- (BOOL) initialize: (FSCertificateEncryptData *)  encrypt_data
encrypt_key: (NSString *)  encrypt_key 

◆ 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.

Reimplemented from FSSecurityHandler.