java.lang.Object | |
↳ | org.bouncycastle.cms.CMSCompressedDataStreamGenerator |
General class for generating a compressed CMS message stream.
A simple example of usage.
CMSCompressedDataStreamGenerator gen = new CMSCompressedDataStreamGenerator(); OutputStream cOut = gen.open(outputStream, new ZlibCompressor()); cOut.write(data); cOut.close();
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ZLIB |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
base constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Open a compressing output stream.@return
| |||||||||||
This method is deprecated.
use open(OutputStream, ContentCompressor)
| |||||||||||
This method is deprecated.
use open(OutputStream, ASN1ObjectIdentifier, ContentCompressor)
| |||||||||||
Set the underlying string size for encapsulated data
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
base constructor
Open a compressing output stream.@return
IOException |
---|
This method is deprecated.
use open(OutputStream, ASN1ObjectIdentifier, ContentCompressor)
IOException |
---|
Set the underlying string size for encapsulated data
bufferSize | length of octet strings to buffer the data. |
---|