DecryptOptions

DecryptOptions

Overview

DecryptOptions is a class in Aspose.PDF FOSS for Python. Inherits from: PluginOptions.

Options for :class:Decryptor: the password that opens each input.

This class declares 5 methods for DecryptOptions objects in Python programs. Available methods include: __init__, add_data_source, add_input, add_output. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: inputs, limits, outputs, password.

Properties

NameTypeAccessDescription
password-ReadGets the password.
limits-ReadGets the limits.
inputslist[DataSource]ReadGets the inputs.
outputslist[DataSource]ReadGets the outputs.

Methods

SignatureDescription
__init__(password: str, limits: PdfLoadLimits | None)Calls init(password, limits) on this DecryptOptions instance.
__init__(limits: PdfLoadLimits | None)Calls init(limits) on this DecryptOptions instance.
add_input(source: DataSource) → PluginOptionsCalls add_input(source) on this DecryptOptions instance.
add_output(source: DataSource) → PluginOptionsRegisters a destination where the decrypted PDF data will be written
add_data_source(source: DataSource) → PluginOptionsCalls add_data_source(source) on this DecryptOptions instance.

See Also