Example usage for Java org.bouncycastle.openpgp PGPCompressedDataGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
PGPCompressedDataGenerator(int algorithm) Construct a new compressed data generator. | |
PGPCompressedDataGenerator(int algorithm, int compression) Construct a new compressed data generator. |
void | close() Close the compressed object - this is equivalent to calling close on the stream returned by the open() method. |
OutputStream | open(OutputStream out) Return an OutputStream which will save the data being written to the compressed object. |
OutputStream | open(OutputStream out, byte[] buffer) Return an OutputStream which will compress the data as it is written to it. |