|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.cms.CMSCompressedData
containing class for an CMS Compressed Data object CMSCompressedData cd = new CMSCompressedData(inputStream); process(cd.getContent(new ZlibExpanderProvider()));
Constructor Summary | |
CMSCompressedData(byte[] compressedData)
|
|
CMSCompressedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo)
|
|
CMSCompressedData(java.io.InputStream compressedData)
|
Method Summary | |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getCompressedContentType()
|
byte[] |
getContent(InputExpanderProvider expanderProvider)
Return the uncompressed content. |
CMSTypedStream |
getContentStream(InputExpanderProvider expanderProvider)
|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getContentType()
|
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object. |
org.bouncycastle.asn1.cms.ContentInfo |
toASN1Structure()
return the ContentInfo |
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
public CMSCompressedData(java.io.InputStream compressedData) throws CMSException
public CMSCompressedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo) throws CMSException
Method Detail |
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getCompressedContentType()
public CMSTypedStream getContentStream(InputExpanderProvider expanderProvider)
public byte[] getContent(InputExpanderProvider expanderProvider) throws CMSException
expanderProvider
- a provider of expander algorithm implementations.
CMSException
- if there is an exception un-compressing the data.public org.bouncycastle.asn1.cms.ContentInfo toASN1Structure()
public byte[] getEncoded() throws java.io.IOException
getEncoded
in interface org.bouncycastle.util.Encodable
java.io.IOException
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |