Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.19
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.openssl
Class PEMReader

    java.lang.Object
      |
      +--java.io.Reader
            |
            +--java.io.BufferedReader
                  |
                  +--org.bouncycastle.openssl.PEMReader

public class PEMReader
extends java.io.BufferedReader

Class for reading OpenSSL PEM encoded streams containing X509 certificates and PKCS8 encoded keys

Field Summary

Fields inherited from class java.io.Reader
`lock`

Constructor Summary
`PEMReader(java.io.Reader reader)` Create a new PEMReader
`PEMReader(java.io.Reader reader, PasswordFinder pFinder)` Create a new PEMReader with a password finder
`PEMReader(java.io.Reader reader, PasswordFinder pFinder, java.lang.String provider)` Create a new PEMReader with a password finder

Method Summary
`java.lang.Object` | `readObject()`

Methods inherited from class java.io.BufferedReader
`close, mark, markSupported, read, read, readLine, ready, reset, skip`

Methods inherited from class java.io.Reader
`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)

  Create a new PEMReader

Parameters:
  `reader` - the Reader

### PEMReader

    public PEMReader(java.io.Reader reader,
                     PasswordFinder pFinder)

  Create a new PEMReader with a password finder

Parameters:
  `reader` - the Reader
  `pFinder` - the password finder

### PEMReader

    public PEMReader(java.io.Reader reader,
                     PasswordFinder pFinder,
                     java.lang.String provider)

  Create a new PEMReader with a password finder

Parameters:
  `reader` - the Reader
  `pFinder` - the password finder
  `provider` - the cryptography provider to use

Method Detail

### readObject

    public java.lang.Object readObject()
                                throws java.io.IOException

    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.19
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD