Top Description Methods
org.bouncycastle.tls

public Interface TlsCompression

Known Direct Implementers
org.bouncycastle.tls.TlsNullCompression
Imports
java.io.OutputStream

Base interface for a compression operator.

Method Summary

Modifier and TypeMethod and Description
public OutputStream

Returns:

a target output stream to write the data to be compressed to.
compress
(OutputStream
the stream to write compressed data to.
output
)

Return an output stream that writes compressed data to the passed in stream.

public OutputStream

Returns:

a target output stream to write the data to be uncompressed to.
decompress
(OutputStream
the stream to write uncompressed data to.
output
)

Return an output stream that writes uncompressed data to the passed in stream.

Method Detail

compressback to summary
public OutputStream compress(OutputStream output)

Return an output stream that writes compressed data to the passed in stream.

Parameters
output:OutputStream

the stream to write compressed data to.

Returns:OutputStream

a target output stream to write the data to be compressed to.

decompressback to summary
public OutputStream decompress(OutputStream output)

Return an output stream that writes uncompressed data to the passed in stream.

Parameters
output:OutputStream

the stream to write uncompressed data to.

Returns:OutputStream

a target output stream to write the data to be uncompressed to.