Public Member Functions | |
CertificateSecurityHandler () | |
Constructor. | |
CertificateSecurityHandler (SecurityHandler other) | |
Constructor, with parent class object. | |
bool | Initialize (CertificateEncryptData encrypt_data, byte[] encrypt_key) |
Initialize current certificate security handler. More... | |
![]() | |
SecurityHandler () | |
Constructor. | |
SecurityHandler (SecurityHandler other) | |
Constructor, with another SecurityHandler object. | |
virtual PDFDoc.EncryptType | GetSecurityType () |
Get the encryption type of current security handler. More... | |
bool | IsEmpty () |
Check whether current object is empty or not. More... | |
Additional Inherited Members | |
![]() | |
enum | CipherType { CipherType.e_CipherNone = 0, CipherType.e_CipherRC4 = 1, CipherType.e_CipherAES = 2 } |
Enumeration for Encryption Algorithm. More... | |
This class represents a certificate security handler, used for certificate encryption.
|
inline |
Initialize current certificate security handler.
encrypt_data | A CertificateEncryptData object. In the encryption data, cipher type should not be {}. |
encrypt_key | The key for encryption. For e_CipherRC4 cipher, the length of encryption key should be between 5 and 16. For {} cipher, the length of encryption key should be 16 or 32. |