EncryptionType Property
The document encryption type.
Syntax
ANSI (Cross Platform) int GetEncryptionType(); Unicode (Windows) INT GetEncryptionType();
Possible Values
PET_NONE(0),
PET_PASSWORD(1),
PET_CERTIFICATE(2)
@property (nonatomic,readonly,assign,getter=encryptionType) int encryptionType; - (int)encryptionType;
Possible Values
PET_NONE(0),
PET_PASSWORD(1),
PET_CERTIFICATE(2)
#define PID_PDFDECRYPTOR_ENCRYPTIONTYPE 8 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PDFDecryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
1
Remarks
This property indicates the kind of encryption that was used to encrypt the PDF document.
Supported values:
petPassword | 1 | The document is encrypted with a password. |
petCertificate | 2 | The document is encrypted with a certificate. |
This property is read-only and not available at design time.
Data Type
Integer