Bouncy Castle Cryptography Library 1.50

org.bouncycastle.openssl
Class PEMWriter

java.lang.Object
  extended byjava.io.Writer
      extended byjava.io.BufferedWriter
          extended byorg.bouncycastle.util.io.pem.PemWriter
              extended byorg.bouncycastle.openssl.PEMWriter

public class PEMWriter
extends org.bouncycastle.util.io.pem.PemWriter

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.
 
Method Summary
 void writeObject(java.lang.Object obj)
           
 void writeObject(java.lang.Object obj, PEMEncryptor encryptor)
           
 void writeObject(org.bouncycastle.util.io.pem.PemObjectGenerator obj)
           
 
Methods inherited from class org.bouncycastle.util.io.pem.PemWriter
getOutputSize
 
Methods inherited from class java.io.BufferedWriter
close, flush, newLine, write, write, write
 
Methods inherited from class java.io.Writer
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.
Method Detail

writeObject

public void writeObject(java.lang.Object obj)
                 throws java.io.IOException
Throws:
java.io.IOException

writeObject

public void writeObject(java.lang.Object obj,
                        PEMEncryptor encryptor)
                 throws java.io.IOException
Throws:
java.io.IOException

writeObject

public void writeObject(org.bouncycastle.util.io.pem.PemObjectGenerator obj)
                 throws java.io.IOException
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.50