Foxit PDF SDK
FoxitPDFSDKPython2.CertificateEncryptData Class Reference

Inherits FoxitPDFSDKPython2._object.

Public Member Functions

def CertificateEncryptData (is_encrypt_metadata, cipher, envelopes)
 Constructor, with parameters. More...
 
def Set (is_encrypt_metadata, cipher, envelopes)
 Set value. More...
 

Static Public Attributes

 cipher = _swig_property(_fsdk.CertificateEncryptData_cipher_get, _fsdk.CertificateEncryptData_cipher_set)
 Cipher type. Please refer to values starting from FoxitPDFSDKPython2.SecurityHandler.e_CipherRC4 and this should be one of these values except FoxitPDFSDKPython2.SecurityHandler.e_CipherNone .
 
 is_encrypt_metadata = _swig_property(_fsdk.CertificateEncryptData_is_encrypt_metadata_get, _fsdk.CertificateEncryptData_is_encrypt_metadata_set)
 A boolean value to decide whether to encrypt metadata or not. true means to encrypt metadata, and false means not to encrypt metadata.
 

Detailed Description

This class represents some data used for class CertificateSecurityHandler .

Constructor & Destructor Documentation

◆ CertificateEncryptData()

def FoxitPDFSDKPython2.CertificateEncryptData.CertificateEncryptData (   is_encrypt_metadata,
  cipher,
  envelopes 
)

Constructor, with parameters.

Constructor, with another certificate encrypt data object.

Constructor.

Parameters
[in]is_encrypt_metadatatrue means to encrypt metadata, and false means not to encrypt metadata.
[in]cipherCipher type. Please refer to values starting from FoxitPDFSDKPython2.SecurityHandler.e_CipherRC4 and this should be one of these values except FoxitPDFSDKPython2.SecurityHandler.e_CipherNone .
[in]envelopesA string array which specifies an array of certificate envelopes. This array should contains one or more envelopes.
[in]otherAnother certificate encrypt data object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython2.CertificateEncryptData.Set (   is_encrypt_metadata,
  cipher,
  envelopes 
)

Set value.

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