Top Constructors Methods
org.bouncycastle.cms.jcajce

public Class ZlibCompressor

extends Object
implements OutputCompressor
Class Inheritance
All Implemented Interfaces
org.bouncycastle.operator.OutputCompressor
Imports
java.io.OutputStream, java.util.zip.DeflaterOutputStream, org.bouncycastle.asn1.cms.CMSObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.operator.OutputCompressor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AlgorithmIdentifier
getAlgorithmIdentifier()

Implements org.bouncycastle.operator.OutputCompressor.getAlgorithmIdentifier.

Return the algorithm identifier describing the compression algorithm and parameters this compressor uses.
public OutputStream
getOutputStream(OutputStream
output stream for compressed output.
comOut
)

Implements org.bouncycastle.operator.OutputCompressor.getOutputStream.

Wrap the passed in output stream comOut, returning an output stream that compresses anything passed in before sending on to comOut.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ZlibCompressorback to summary
public ZlibCompressor()

Method Detail

getAlgorithmIdentifierback to summary
public AlgorithmIdentifier getAlgorithmIdentifier()

Implements org.bouncycastle.operator.OutputCompressor.getAlgorithmIdentifier.

Doc from org.bouncycastle.operator.OutputCompressor.getAlgorithmIdentifier.

Return the algorithm identifier describing the compression algorithm and parameters this compressor uses.

Returns:AlgorithmIdentifier

algorithm oid and parameters.

getOutputStreamback to summary
public OutputStream getOutputStream(OutputStream comOut)

Implements org.bouncycastle.operator.OutputCompressor.getOutputStream.

Doc from org.bouncycastle.operator.OutputCompressor.getOutputStream.

Wrap the passed in output stream comOut, returning an output stream that compresses anything passed in before sending on to comOut.

Parameters
comOut:OutputStream

output stream for compressed output.

Returns:OutputStream

a compressing OutputStream