org.bouncycastle.asn1

## Class ASN1StreamParser

- java.lang.Object
- - org.bouncycastle.asn1.ASN1StreamParser

-     public class ASN1StreamParser
      extends java.lang.Object

  A parser for ASN.1 streams which also returns, where possible, parsers for the objects it encounters.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ASN1StreamParser(byte[] encoding)`
    `ASN1StreamParser(java.io.InputStream in)`
    `ASN1StreamParser(java.io.InputStream in, int limit)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ASN1Encodable` | `readObject()`

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

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

- - ### Constructor Detail

    - #### ASN1StreamParser

          public ASN1StreamParser(java.io.InputStream in)

    - #### ASN1StreamParser

          public ASN1StreamParser(byte[] encoding)

    - #### ASN1StreamParser

          public ASN1StreamParser(java.io.InputStream in,
                                  int limit)

  - ### Method Detail

    - #### readObject

          public ASN1Encodable readObject()
                                   throws java.io.IOException

      Throws:
        `java.io.IOException`