Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CompressionAlgorithmTags.java « bcpg « spongycastle « org « java « main « src « pg - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2d1956968acd2288f1ac3ebf1fee6f2a3d8a3a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.spongycastle.bcpg;

/**
 * Basic tags for compression algorithms
 */
public interface CompressionAlgorithmTags
{
    /** No compression. */
    public static final int UNCOMPRESSED = 0;

    /** ZIP (RFC 1951) compression. Unwrapped DEFLATE. */
    public static final int ZIP = 1;

    /** ZLIB (RFC 1950) compression. DEFLATE with a wrapper for better error detection. */
    public static final int ZLIB = 2;

    /** BZIP2 compression. Better compression than ZIP but much slower to compress and decompress. */
    public static final int BZIP2 = 3;
}