Foxit PDF SDK
|
Instance Methods | |
(id) | - init |
Constructor. | |
(BOOL) | - initialize:encrypt_key: |
Initialize current certificate security handler. More... | |
(id) | - initWithOther: |
Constructor, with parent class object. More... | |
![]() | |
(FSPDFDocEncryptType) | - getSecurityType |
Get the encryption type of current security handler. More... | |
(BOOL) | - isEmpty |
Check whether current object is empty or not. More... | |
This class represents a certificate security handler, used for certificate encryption.
- (BOOL) initialize: | (FSCertificateEncryptData*) | encrypt_data | |
encrypt_key: | (NSData *) | encrypt_key | |
Initialize current certificate security handler.
[in] | encrypt_data | A certificate encrypt data object. In the encryption data, cipher type should not be FSSecurityHandlerCipherNone. |
[in] | encrypt_key | The key for encryption. For FSSecurityHandlerCipherRC4 cipher, the length of encryption key should be between 5 and 16. For FSSecurityHandlerCipherAES cipher, the length of encryption key should be 16 or 32. |
- (id) initWithOther: | (FSSecurityHandler*) | other |
Constructor, with parent class object.
[in] | other | Parent class object. |
Reimplemented from FSSecurityHandler.