Bouncy Castle Cryptography 1.29

org.bouncycastle.openssl
Class PEMWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--java.io.BufferedWriter
              |
              +--org.bouncycastle.openssl.PEMWriter

public class PEMWriter
extends java.io.BufferedWriter

General purpose writer for OpenSSL PEM objects.


Fields inherited from class java.io.Writer
lock
 
Constructor Summary
PEMWriter(java.io.Writer out)
          Base constructor.
 
Method Summary
 void writeObject(java.lang.Object o)
           
 void writeObject(java.lang.Object o, 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
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 o)
                 throws java.io.IOException

writeObject

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

Bouncy Castle Cryptography 1.29