output_file Property
The file to which output data should be written.
Syntax
def get_output_file() -> str: ... def set_output_file(value: str) -> None: ...
output_file = property(get_output_file, set_output_file)
Default Value
""
Remarks
This property specifies the file to which data output from a successful cryptographic operation should be written.
Note: For the verify operation, the specified file functions as a secondary input file instead (along with input_file); refer to the verify method for more information.
Input Sources & Output Destinations
The class automatically determines the source and destination of the input and output based on which properties are set.
The order in which the input properties are checked is as follows:
- The input_file property
- The input_data property
The first valid input source found is used. The order in which the output properties are considered is as follows:
- The output_file property
- The output_data property