org.bouncycastle.openpgp

Class PGPCompressedDataGenerator

Implemented Interfaces:
CompressionAlgorithmTags

public class PGPCompressedDataGenerator
extends java.lang.Object
implements CompressionAlgorithmTags

class for producing compressed data packets.

Fields inherited from interface org.bouncycastle.bcpg.CompressionAlgorithmTags

UNCOMPRESSED, ZIP, ZLIB

Constructor Summary

PGPCompressedDataGenerator(int algorithm)

Method Summary

void
close()
Close the compressed object.
OutputStream
open(OutputStream out)
Return an outputstream which will save the data being written to the compressed object.

Constructor Details

PGPCompressedDataGenerator

public PGPCompressedDataGenerator(int algorithm)

Method Details

close

public void close()
            throws IOException
Close the compressed object.


open

public OutputStream open(OutputStream out)
            throws IOException
Return an outputstream which will save the data being written to the compressed object.

Parameters:
out -

Returns:
OutputStream