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

org.bouncycastle.cms

## Class CMSContentInfoParser

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

- Direct Known Subclasses:
    CMSAuthenticatedDataParser, CMSCompressedDataParser, CMSEnvelopedDataParser, CMSSignedDataParser, CMSTimeStampedDataParser

      public class CMSContentInfoParser
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected org.bouncycastle.asn1.cms.ContentInfoParser` | `_contentInfo`
    `protected java.io.InputStream` | `_data`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `CMSContentInfoParser(java.io.InputStream data)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Close the underlying data stream.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### _contentInfo

          protected org.bouncycastle.asn1.cms.ContentInfoParser _contentInfo

    - #### _data

          protected java.io.InputStream _data

  - ### Constructor Detail

    - #### CMSContentInfoParser

          protected CMSContentInfoParser(java.io.InputStream data)
                                  throws CMSException

      Throws:
        `CMSException`

  - ### Method Detail

    - #### close

          public void close()
                     throws java.io.IOException

      Close the underlying data stream.
      Throws:
        `java.io.IOException` - if the close fails.