Package org.bouncycastle.bcpg

## Interface CompressionAlgorithmTags

- All Known Implementing Classes:
    `BCPGOutputStream`, `PGPCompressedData`, `PGPCompressedDataGenerator`

      public interface CompressionAlgorithmTags

  Basic tags for compression algorithms

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `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

          static final int UNCOMPRESSED

      No compression.
      See Also:
        Constant Field Values

    - #### ZIP

          static final int ZIP

      ZIP (RFC 1951) compression. Unwrapped DEFLATE.
      See Also:
        Constant Field Values

    - #### ZLIB

          static final int ZLIB

      ZLIB (RFC 1950) compression. DEFLATE with a wrapper for better error detection.
      See Also:
        Constant Field Values

    - #### BZIP2

          static final int BZIP2

      BZIP2 compression. Better compression than ZIP but much slower to compress and decompress.
      See Also:
        Constant Field Values