Foxit PDF SDK
|
Inherits FoxitPDFSDKPython2._object.
Public Member Functions | |
def | StdEncryptData (is_encrypt_metadata, user_permissions, cipher, key_length) |
Constructor, with parameters. More... | |
def | Set (is_encrypt_metadata, user_permissions, cipher, key_length) |
Set value. More... | |
Static Public Attributes | |
cipher = _swig_property(_fsdk.StdEncryptData_cipher_get, _fsdk.StdEncryptData_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.StdEncryptData_is_encrypt_metadata_get, _fsdk.StdEncryptData_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. | |
user_permissions = _swig_property(_fsdk.StdEncryptData_user_permissions_get, _fsdk.StdEncryptData_user_permissions_set) | |
The user permissions. Please refer to values starting from FoxitPDFSDKPython2.PDFDoc.e_PermPrint and this should be one or combination of these values. | |
This class represents some data used for class StdSecurityHandler .
def FoxitPDFSDKPython2.StdEncryptData.StdEncryptData | ( | is_encrypt_metadata, | |
user_permissions, | |||
cipher, | |||
key_length | |||
) |
Constructor, with parameters.
Constructor, with another standard encrypt data object.
Constructor.
[in] | is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata. |
[in] | user_permissions | The user permissions. Please refer to values starting from FoxitPDFSDKPython2.PDFDoc.e_PermPrint and this should be one or combination of these values. |
[in] | cipher | 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 . |
[in] | key_length | The key length, in bytes.
|
[in] | other | Another standard encrypt data object. |
def FoxitPDFSDKPython2.StdEncryptData.Set | ( | is_encrypt_metadata, | |
user_permissions, | |||
cipher, | |||
key_length | |||
) |
Set value.
[in] | is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata. |
[in] | user_permissions | The user permissions. Please refer to values starting from FoxitPDFSDKPython2.PDFDoc.e_PermPrint and this should be one or combination of these values. |
[in] | cipher | 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 . |
[in] | key_length | The key length, in bytes.
|