CMSEncryptedData (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.cms

## Class CMSEncryptedData

- java.lang.Object
- - org.bouncycastle.cms.CMSEncryptedData

-     public class CMSEncryptedData
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CMSEncryptedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getContent(InputDecryptorProvider inputDecryptorProvider)`
    `CMSTypedStream` | `getContentStream(InputDecryptorProvider inputDecryptorProvider)`
    `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

    - #### CMSEncryptedData

          public CMSEncryptedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo)

  - ### Method Detail

    - #### getContent

          public byte[] getContent(InputDecryptorProvider inputDecryptorProvider)
                            throws CMSException

      Throws:
        `CMSException`

    - #### getContentStream

          public CMSTypedStream getContentStream(InputDecryptorProvider inputDecryptorProvider)
                                          throws CMSException

      Throws:
        `CMSException`

    - #### toASN1Structure

          public org.bouncycastle.asn1.cms.ContentInfo toASN1Structure()

      return the ContentInfo