org.bouncycastle.openssl
Class PEMWriter
java.lang.Object
  
java.io.Writer
      
java.io.BufferedWriter
          
org.bouncycastle.openssl.PEMWriter
- All Implemented Interfaces: 
 - Closeable, Flushable, Appendable
 
public class PEMWriter
- extends BufferedWriter
 
General purpose writer for OpenSSL PEM objects.
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PEMWriter
public PEMWriter(Writer out)
- Base constructor.
- Parameters:
 out - output stream to use.
 
PEMWriter
public PEMWriter(Writer out,
                 String provider)
writeObject
public void writeObject(Object o)
                 throws IOException
- Throws:
 IOException
 
writeObject
public void writeObject(Object obj,
                        String algorithm,
                        char[] password,
                        SecureRandom random)
                 throws IOException
- Throws:
 IOException