public class ZlibCompressor
extends java.lang.Object
implements org.bouncycastle.operator.OutputCompressor
Constructor and Description |
---|
ZlibCompressor() |
Modifier and Type | Method and 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()
org.bouncycastle.operator.OutputCompressor
getAlgorithmIdentifier
in interface org.bouncycastle.operator.OutputCompressor
public java.io.OutputStream getOutputStream(java.io.OutputStream comOut)
org.bouncycastle.operator.OutputCompressor
getOutputStream
in interface org.bouncycastle.operator.OutputCompressor
comOut
- output stream for compressed output.