SecureBlackbox 2020 PHP Edition

Questions / Feedback?

CompressionAlgorithm Property

The compression algorithm to use.

Object Oriented Interface

public function getCompressionAlgorithm();
public function setCompressionAlgorithm($value);

Procedural Interface

secureblackbox_pgpwriter_get($res, 5 );
secureblackbox_pgpwriter_set($res, 5, $value );

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_NONEUncompressed
SB_PGP_COMPRESSION_ALGORITHM_ZIPZIP
SB_PGP_COMPRESSION_ALGORITHM_ZLIBZlib
SB_PGP_COMPRESSION_ALGORITHM_BZIP2Bzip2

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 PHP Edition - Version 20.0 [Build 8154]