Bouncy Castle Cryptography 1.64

org.bouncycastle.bcpg
Interface CompressionAlgorithmTags

All Known Implementing Classes:
BCPGOutputStream, PGPCompressedData, PGPCompressedDataGenerator

public interface CompressionAlgorithmTags

Basic tags for compression algorithms


Field Summary
static int BZIP2
          BZIP2 compression.
static int UNCOMPRESSED
          No compression.
static int ZIP
          ZIP (RFC 1951) compression.
static int ZLIB
          ZLIB (RFC 1950) compression.
 

Field Detail

UNCOMPRESSED

public static final int UNCOMPRESSED
No compression.

ZIP

public static final int ZIP
ZIP (RFC 1951) compression. Unwrapped DEFLATE.

ZLIB

public static final int ZLIB
ZLIB (RFC 1950) compression. DEFLATE with a wrapper for better error detection.

BZIP2

public static final int BZIP2
BZIP2 compression. Better compression than ZIP but much slower to compress and decompress.

Bouncy Castle Cryptography 1.64