org.bouncycastle.cms

Class CMSCompressedData

Known Direct Subclasses:
SMIMECompressed

public class CMSCompressedData
extends java.lang.Object

containing class for an CMS Compressed Data object

Constructor Summary

CMSCompressedData(ContentInfo contentInfo)
CMSCompressedData(InputStream compressedData)
CMSCompressedData(byte[] compressedData)

Method Summary

byte[]
getContent()
ContentInfo
getContentInfo()
return the ContentInfo
byte[]
getEncoded()
return the ASN.1 encoded representation of this object.

Constructor Details

CMSCompressedData

public CMSCompressedData(ContentInfo contentInfo)
            throws CMSException

CMSCompressedData

public CMSCompressedData(InputStream compressedData)
            throws CMSException

CMSCompressedData

public CMSCompressedData(byte[] compressedData)
            throws CMSException

Method Details

getContent

public byte[] getContent()
            throws CMSException

getContentInfo

public ContentInfo getContentInfo()
return the ContentInfo

getEncoded

public byte[] getEncoded()
            throws IOException
return the ASN.1 encoded representation of this object.