encryption_type Property
The document encryption type.
Syntax
def get_encryption_type() -> int: ...
encryption_type = property(get_encryption_type, None)
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.