WriterEncryption
Overview
WriterEncryption is a class in Aspose.PDF FOSS for Python.
The security handler, applied as :class:PdfCosWriter serialises.
This class declares 1 method for WriterEncryption objects in Python programs.
Available methods include: apply.
Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: algorithm, encrypt_metadata, exempt, key.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
key | bytes | Read | Gets the key. |
algorithm | str | Read | Gets the algorithm. |
exempt | frozenset[int] | Read | Gets the exempt. |
encrypt_metadata | bool | Read | Gets the encrypt metadata. |
Methods
| Signature | Description |
|---|---|
apply(obj_num: int, gen_num: int, data: bytes) → bytes | Return data enciphered with the key for this object. |