Class PEMWriter

java.lang.Object
java.io.Writer
java.io.BufferedWriter
org.bouncycastle.util.io.pem.PemWriter
org.bouncycastle.openssl.PEMWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class PEMWriter extends org.bouncycastle.util.io.pem.PemWriter
Deprecated.
use JcaPEMWriter
General purpose writer for OpenSSL PEM objects.
  • Constructor Details

    • PEMWriter

      public PEMWriter(Writer out)
      Deprecated.
      Base constructor.
      Parameters:
      out - output stream to use.
  • Method Details

    • writeObject

      public void writeObject(Object obj) throws IOException
      Deprecated.
      Throws:
      IOException
    • writeObject

      public void writeObject(Object obj, PEMEncryptor encryptor) throws IOException
      Deprecated.
      Parameters:
      obj -
      encryptor -
      Throws:
      IOException
    • writeObject

      public void writeObject(org.bouncycastle.util.io.pem.PemObjectGenerator obj) throws IOException
      Deprecated.
      Overrides:
      writeObject in class org.bouncycastle.util.io.pem.PemWriter
      Throws:
      IOException