Top Fields 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.ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.operator.OutputCompressor

Field Summary

Modifier and TypeField and Description
private static final String

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

Field Detail

ZLIBback to summary
private static final String ZLIB

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