encryption_type Property
The encryption type.
Syntax
def get_encryption_type() -> int: ... def set_encryption_type(value: int) -> None: ...
encryption_type = property(get_encryption_type, set_encryption_type)
Default Value
1
Remarks
Use this property to specify the encryption type to use.
Supported values:
petPassword | 1 | Encrypt the document with passwords. Use owner_password and user_password properties to set the passwords. |
petCertificate | 2 | Encrypt the document with a certificate. Use encryption_certificate or encryption_certificates to supply the certificate(s). |