Package 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
Fields Modifier and Type Field Description static java.lang.String
ZLIB
-
Constructor Summary
Constructors Constructor Description CMSCompressedDataGenerator()
base constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMSCompressedData
generate(CMSTypedData content, org.bouncycastle.operator.OutputCompressor compressor)
generate an object that contains an CMS Compressed Data
-
-
-
Field Detail
-
ZLIB
public static final java.lang.String ZLIB
- See Also:
- Constant Field Values
-
-
Method Detail
-
generate
public CMSCompressedData generate(CMSTypedData content, org.bouncycastle.operator.OutputCompressor compressor) throws CMSException
generate an object that contains an CMS Compressed Data- Throws:
CMSException
-
-