| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: compression algorithm ID as specified by RFC8879
Return the ID for the compression algorithm provided for by a given implementation. |
| public byte[] | Returns: the compressed form of the certificatethe SSL instance ssl, byte[] the uncompressed form of the certificate input)Compress the given input with the specified algorithm and return the compressed bytes. |
| public byte[] | Returns: the decompressed form of the certificatethe SSL instance ssl, int the expected length of the uncompressed certificate uncompressedLen, byte[] the compressed form of the certificate input)Decompress the given input with the specified algorithm and return the decompressed bytes. |
| TLS_EXT_CERT_COMPRESSION_BROTLI | back to summary |
|---|---|
| public static final int TLS_EXT_CERT_COMPRESSION_BROTLI | |
| TLS_EXT_CERT_COMPRESSION_ZLIB | back to summary |
|---|---|
| public static final int TLS_EXT_CERT_COMPRESSION_ZLIB | |
| TLS_EXT_CERT_COMPRESSION_ZSTD | back to summary |
|---|---|
| public static final int TLS_EXT_CERT_COMPRESSION_ZSTD | |
| algorithmId | back to summary |
|---|---|
| public int algorithmId() Return the ID for the compression algorithm provided for by a given implementation.
| |
| compress | back to summary |
|---|---|
| public byte[] compress(long ssl, byte[] input) throws Exception Compress the given input with the specified algorithm and return the compressed bytes.
| |
| decompress | back to summary |
|---|---|
| public byte[] decompress(long ssl, int uncompressedLen, byte[] input) throws Exception Decompress the given input with the specified algorithm and return the decompressed bytes. Implementation Security ConsiderationsImplementations SHOULD bound the memory usage when decompressing the CompressedCertificate message.
Implementations MUST limit the size of the resulting decompressed chain to the specified
| |