Bouncy Castle Cryptography 1.30

org.bouncycastle.cms
Class CMSCompressedDataParser

java.lang.Object
  extended by org.bouncycastle.cms.CMSContentInfoParser
      extended by org.bouncycastle.cms.CMSCompressedDataParser

public class CMSCompressedDataParser
extends CMSContentInfoParser

Class for reading a CMS Compressed Data stream.

     CMSCompressedDataParser cp = new CMSCompressedDataParser(bOut.toByteArray());
      
     process(cp.getContent().getContentStream());
 


Field Summary
 
Fields inherited from class org.bouncycastle.cms.CMSContentInfoParser
_contentInfo
 
Constructor Summary
CMSCompressedDataParser(byte[] compressedData)
           
CMSCompressedDataParser(org.bouncycastle.sasn1.cms.ContentInfoParser contentInfo)
           
CMSCompressedDataParser(java.io.InputStream compressedData)
           
 
Method Summary
 CMSTypedStream getContent()
           
 
Methods inherited from class org.bouncycastle.cms.CMSContentInfoParser
readContentInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSCompressedDataParser

public CMSCompressedDataParser(byte[] compressedData)
                        throws CMSException
Throws:
CMSException

CMSCompressedDataParser

public CMSCompressedDataParser(java.io.InputStream compressedData)
                        throws CMSException
Throws:
CMSException

CMSCompressedDataParser

public CMSCompressedDataParser(org.bouncycastle.sasn1.cms.ContentInfoParser contentInfo)
                        throws CMSException
Throws:
CMSException
Method Detail

getContent

public CMSTypedStream getContent()
                          throws CMSException
Throws:
CMSException

Bouncy Castle Cryptography 1.30