Bouncy Castle Cryptography 1.19

org.bouncycastle.cms
Class CMSEnvelopedData

java.lang.Object
  |
  +--org.bouncycastle.cms.CMSEnvelopedData
Direct Known Subclasses:
SMIMEEnveloped

public class CMSEnvelopedData
extends java.lang.Object

containing class for an CMS Enveloped Data object


Constructor Summary
CMSEnvelopedData(byte[] envelopedData)
           
CMSEnvelopedData(ContentInfo contentInfo)
           
CMSEnvelopedData(java.io.InputStream envelopedData)
           
 
Method Summary
 byte[] getEncoded()
          return the ASN.1 encoded representation of this object.
 RecipientInformationStore getRecipientInfos()
          return a store of the intended recipients for this message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSEnvelopedData

public CMSEnvelopedData(byte[] envelopedData)
                 throws CMSException

CMSEnvelopedData

public CMSEnvelopedData(java.io.InputStream envelopedData)
                 throws CMSException

CMSEnvelopedData

public CMSEnvelopedData(ContentInfo contentInfo)
                 throws CMSException
Method Detail

getRecipientInfos

public RecipientInformationStore getRecipientInfos()
return a store of the intended recipients for this message


getEncoded

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

java.io.IOException

Bouncy Castle Cryptography 1.19