public class CMSCompressedDataGenerator
extends java.lang.Object
A simple example of usage.
CMSCompressedDataGenerator fact = new CMSCompressedDataGenerator(); CMSCompressedData data = fact.generate(content, algorithm);
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ZLIB |
Constructor and Description |
---|
CMSCompressedDataGenerator()
base constructor
|
Modifier and Type | Method and Description |
---|---|
CMSCompressedData |
generate(CMSProcessable content,
java.lang.String compressionOID)
generate an object that contains an CMS Compressed Data
|
private AlgorithmIdentifier |
makeAlgId(java.lang.String oid,
byte[] params) |
private DERObject |
makeObj(byte[] encoding) |
public static final java.lang.String ZLIB
private DERObject makeObj(byte[] encoding) throws java.io.IOException
java.io.IOException
private AlgorithmIdentifier makeAlgId(java.lang.String oid, byte[] params) throws java.io.IOException
java.io.IOException
public CMSCompressedData generate(CMSProcessable content, java.lang.String compressionOID) throws CMSException
CMSException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.