Package org.bouncycastle.bcpg
Interface CompressionAlgorithmTags
-
- All Known Implementing Classes:
BCPGOutputStream,PGPCompressedData,PGPCompressedDataGenerator
public interface CompressionAlgorithmTagsBasic tags for compression algorithms
-
-
Field Summary
Fields Modifier and Type Field Description static intBZIP2BZIP2 compression.static intUNCOMPRESSEDNo compression.static intZIPZIP (RFC 1951) compression.static intZLIBZLIB (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
-
-