|
Bouncy Castle Cryptography Library 1.45 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.cms.CMSCompressedData
public class CMSCompressedData
containing class for an CMS Compressed Data object
Constructor Summary | |
---|---|
CMSCompressedData(byte[] compressedData)
|
|
CMSCompressedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo)
|
|
CMSCompressedData(java.io.InputStream compressedData)
|
Method Summary | |
---|---|
byte[] |
getContent()
Return the uncompressed content. |
byte[] |
getContent(int limit)
Return the uncompressed content, throwing an exception if the data size is greater than the passed in limit. |
org.bouncycastle.asn1.cms.ContentInfo |
getContentInfo()
return the ContentInfo |
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMSCompressedData(byte[] compressedData) throws CMSException
CMSException
public CMSCompressedData(java.io.InputStream compressedData) throws CMSException
CMSException
public CMSCompressedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo) throws CMSException
CMSException
Method Detail |
---|
public byte[] getContent() throws CMSException
CMSException
- if there is an exception uncompressing the data.public byte[] getContent(int limit) throws CMSException
limit
- maximum number of bytes to read
CMSException
- if there is an exception uncompressing the data.public org.bouncycastle.asn1.cms.ContentInfo getContentInfo()
public byte[] getEncoded() throws java.io.IOException
java.io.IOException
|
Bouncy Castle Cryptography Library 1.45 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |