diff options
Diffstat (limited to 'core/src/main/java/org/spongycastle/crypto/tls/CompressionMethod.java')
-rw-r--r-- | core/src/main/java/org/spongycastle/crypto/tls/CompressionMethod.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/core/src/main/java/org/spongycastle/crypto/tls/CompressionMethod.java b/core/src/main/java/org/spongycastle/crypto/tls/CompressionMethod.java new file mode 100644 index 00000000..2a19b7ff --- /dev/null +++ b/core/src/main/java/org/spongycastle/crypto/tls/CompressionMethod.java @@ -0,0 +1,24 @@ +package org.spongycastle.crypto.tls; + +/** + * RFC 2246 6.1 + */ +public class CompressionMethod +{ + public static final short _null = 0; + + /** + * @deprecated use '_null' instead + */ + public static final short NULL = _null; + + /* + * RFC 3749 2 + */ + public static final short DEFLATE = 1; + + /* + * Values from 224 decimal (0xE0) through 255 decimal (0xFF) + * inclusive are reserved for private use. + */ +} |