| 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[] | |
| public byte[] | Returns: the decompressed form of the certificatethe engine, int SSLEnginethe expected length of the decompressed certificate that will be returned. uncompressedLen, byte[] the compressed form of the certificate compressedCertificate)Decompress the given input with the specified algorithm and return the decompressed bytes. |
| 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(SSLEngine engine, byte[] uncompressedCertificate) throws Exception Compress the given input with the specified algorithm and return the compressed bytes. | |
| decompress | back to summary |
|---|---|
| public byte[] decompress(SSLEngine engine, int uncompressedLen, byte[] compressedCertificate) 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
| |