Foxit PDF SDK  9.1
FSCertificateEncryptData Class Reference
Inheritance diagram for FSCertificateEncryptData:

Instance Methods

(void) - dealloc
 
(void *) - getCptr
 
(id) - init
 Constructor.
More...
 
(id) - initWithCptr:swigOwnCObject:
 
(id) - initWithIs_encrypt_metadata:cipher:envelopes:
 
(id) - initWithOther:
 Constructor, with another certificate encrypt data object.
More...
 
(void) - set:cipher:envelopes:
 Set value.
More...
 

Protected Attributes

BOOL swigCMemOwn
 
void * swigCPtr
 

Properties

FSSecurityHandlerCipherType cipher
 Cipher type. Please refer to values starting from FSSecurityHandlerCipherRC4 and this should be one of these values except FSSecurityHandlerCipherNone.
More...
 
NSArray< NSData * > * envelopes
 A string array which specifies an array of certificate envelopes. This array should contains one or more envelopes.
More...
 
BOOL is_encrypt_metadata
 A boolean value to decide whether to encrypt metadata or not. YES means to encrypt metadata, and NO means not to encrypt metadata.
More...
 

Detailed Description

This class represents some data used for class FSCertificateSecurityHandler .

Method Documentation

◆ dealloc

- (void) dealloc

◆ getCptr

- (void*) getCptr

◆ init

- (id) init

Constructor.

◆ initWithCptr:swigOwnCObject:

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

◆ initWithIs_encrypt_metadata:cipher:envelopes:

- (id) initWithIs_encrypt_metadata: (BOOL)  is_encrypt_metadata
cipher: (FSSecurityHandlerCipherType cipher
envelopes: (NSArray< NSData * > *)  envelopes 

◆ initWithOther:

- (id) initWithOther: (FSCertificateEncryptData*)  other

Constructor, with another certificate encrypt data object.

Parameters
[in]otherAnother certificate encrypt data object.

◆ set:cipher:envelopes:

- (void) set: (BOOL)  is_encrypt_metadata
cipher: (FSSecurityHandlerCipherType cipher
envelopes: (NSArray<NSData *> *)  envelopes 

Set value.

Parameters
[in]is_encrypt_metadataYES means to encrypt metadata, and NO means not to encrypt metadata.
[in]cipherCipher type. Please refer to values starting from FSSecurityHandlerCipherRC4 and this should be one of these values except FSSecurityHandlerCipherNone.
[in]envelopesA string array which specifies an array of certificate envelopes. This array should contains one or more envelopes.
Returns
None.

Member Data Documentation

◆ swigCMemOwn

- (BOOL) swigCMemOwn
protected

◆ swigCPtr

- (void*) swigCPtr
protected

Property Documentation

◆ cipher

- (FSSecurityHandlerCipherType) cipher
readwritenonatomicassign

Cipher type. Please refer to values starting from FSSecurityHandlerCipherRC4 and this should be one of these values except FSSecurityHandlerCipherNone.

◆ envelopes

- (NSArray< NSData * > *) envelopes
readwritenonatomiccopy

A string array which specifies an array of certificate envelopes. This array should contains one or more envelopes.

◆ is_encrypt_metadata

- (BOOL) is_encrypt_metadata
readwritenonatomicassign

A boolean value to decide whether to encrypt metadata or not. YES means to encrypt metadata, and NO means not to encrypt metadata.