OutputCompressorpublic class ZlibCompressor extends java.lang.Object implements OutputCompressor
| Constructor | Description |
|---|---|
ZlibCompressor() |
| Modifier and Type | Method | Description |
|---|---|---|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getAlgorithmIdentifier() |
Return the algorithm identifier describing the compression
algorithm and parameters this compressor uses.
|
java.io.OutputStream |
getOutputStream(java.io.OutputStream comOut) |
Wrap the passed in output stream comOut, returning an output stream
that compresses anything passed in before sending on to comOut.
|
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
OutputCompressorgetAlgorithmIdentifier in interface OutputCompressorpublic java.io.OutputStream getOutputStream(java.io.OutputStream comOut)
OutputCompressorgetOutputStream in interface OutputCompressorcomOut - output stream for compressed output.