Java org.bouncycastle.openpgp PGPCompressedDataGenerator fields, constructors, methods, implement or subclass

Example usage for Java org.bouncycastle.openpgp PGPCompressedDataGenerator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.bouncycastle.openpgp PGPCompressedDataGenerator.

The text is from its open source code.

Constructor

PGPCompressedDataGenerator(int algorithm)
Construct a new compressed data generator.
PGPCompressedDataGenerator(int algorithm, int compression)
Construct a new compressed data generator.

Method

voidclose()
Close the compressed object - this is equivalent to calling close on the stream returned by the open() method.
OutputStreamopen(OutputStream out)
Return an OutputStream which will save the data being written to the compressed object.
OutputStreamopen(OutputStream out, byte[] buffer)
Return an OutputStream which will compress the data as it is written to it.