org.bouncycastle.cms
Class CMSCompressedDataGenerator
java.lang.Object
|
+--org.bouncycastle.cms.CMSCompressedDataGenerator
- public class CMSCompressedDataGenerator
- extends java.lang.Object
General class for generating a compressed CMS message.
A simple example of usage.
CMSCompressedDataGenerator fact = new CMSCompressedDataGenerator();
CMSCompressedData data = fact.generate(content, new ZlibCompressor());
Field Summary |
static java.lang.String |
ZLIB
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ZLIB
public static final java.lang.String ZLIB
CMSCompressedDataGenerator
public CMSCompressedDataGenerator()
- base constructor
generate
public CMSCompressedData generate(CMSTypedData content,
org.bouncycastle.operator.OutputCompressor compressor)
throws CMSException
- generate an object that contains an CMS Compressed Data