public class CMSCompressedData
extends java.lang.Object
CMSCompressedData cd = new CMSCompressedData(inputStream);
process(cd.getContent(new ZlibExpanderProvider()));
| Constructor and Description |
|---|
CMSCompressedData(byte[] compressedData) |
CMSCompressedData(ContentInfo contentInfo) |
CMSCompressedData(java.io.InputStream compressedData) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent(org.bouncycastle.operator.InputExpanderProvider expanderProvider)
Return the uncompressed content.
|
ASN1ObjectIdentifier |
getContentType() |
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
ContentInfo |
toASN1Structure()
return the ContentInfo
|
public CMSCompressedData(byte[] compressedData)
throws CMSException
CMSExceptionpublic CMSCompressedData(java.io.InputStream compressedData)
throws CMSException
CMSExceptionpublic CMSCompressedData(ContentInfo contentInfo)
throws CMSException
CMSExceptionpublic ASN1ObjectIdentifier getContentType()
public byte[] getContent(org.bouncycastle.operator.InputExpanderProvider expanderProvider)
throws CMSException
expanderProvider - a provider of expander algorithm implementations.CMSException - if there is an exception un-compressing the data.public ContentInfo toASN1Structure()
public byte[] getEncoded()
throws java.io.IOException
java.io.IOException