compression_algorithm Property
The compression algorithm to use.
Syntax
def get_compression_algorithm() -> str: ... def set_compression_algorithm(value: str) -> None: ...
compression_algorithm = property(get_compression_algorithm, set_compression_algorithm)
Default Value
"Uncompressed"
Remarks
Use this property to specify the compression algorithm to use before encrypting the data. This property only makes sense if compress is True.
SB_PGP_COMPRESSION_ALGORITHM_NONE | Uncompressed | |
SB_PGP_COMPRESSION_ALGORITHM_ZIP | ZIP | |
SB_PGP_COMPRESSION_ALGORITHM_ZLIB | Zlib | |
SB_PGP_COMPRESSION_ALGORITHM_BZIP2 | Bzip2 |