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

## org.bouncycastle.openssl
Class PEMWriter

    java.lang.Object
      java.io.Writer
          java.io.BufferedWriter
              org.bouncycastle.openssl.PEMWriter

All Implemented Interfaces:
  java.io.Closeable, java.io.Flushable, java.lang.Appendable

    public class PEMWriter

extends java.io.BufferedWriter

General purpose writer for OpenSSL PEM objects.

Field Summary

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

Constructor Summary
`PEMWriter(java.io.Writer out)` Base constructor.
`PEMWriter(java.io.Writer out, java.lang.String provider)`

Method Summary
`void` | `writeObject(java.lang.Object o)`
`void` | `writeObject(java.lang.Object obj, java.lang.String algorithm, char[] password, java.security.SecureRandom random)`

Methods inherited from class java.io.BufferedWriter
`close, flush, newLine, write, write, write`

Methods inherited from class java.io.Writer
`append, append, append, write, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PEMWriter

    public PEMWriter(java.io.Writer out)

  Base constructor.

  Parameters:
    `out` - output stream to use.

### PEMWriter

    public PEMWriter(java.io.Writer out,
                     java.lang.String provider)

Method Detail

### writeObject

    public void writeObject(java.lang.Object o)
                     throws java.io.IOException

  Throws:
    `java.io.IOException`

### writeObject

    public void writeObject(java.lang.Object obj,
                            java.lang.String algorithm,
                            char[] password,
                            java.security.SecureRandom random)
                     throws java.io.IOException

  Throws:
    `java.io.IOException`

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