PemReader (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.util.io.pem

## Class PemReader

- java.lang.Object
- - java.io.Reader
  - - java.io.BufferedReader
    - - org.bouncycastle.util.io.pem.PemReader

- All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Readable

      public class PemReader
      extends java.io.BufferedReader

  A generic PEM reader, based on the format outlined in RFC 1421

- - ### Field Summary

    - ### Fields inherited from class java.io.Reader

      `lock`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PemReader(java.io.Reader reader)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `PemObject` | `readPemObject()`

    - ### Methods inherited from class java.io.BufferedReader

      `close, mark, markSupported, read, read, readLine, ready, reset, skip`

    - ### Methods inherited from class java.io.Reader

      `read, read`

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

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

- - ### Constructor Detail

    - #### PemReader

          public PemReader(java.io.Reader reader)

  - ### Method Detail

    - #### readPemObject

          public PemObject readPemObject()
                                  throws java.io.IOException

      Throws:
        `java.io.IOException`