Package org.bouncycastle.openssl.jcajce
Class JcaPEMWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.BufferedWriter
-
- org.bouncycastle.util.io.pem.PemWriter
-
- org.bouncycastle.openssl.jcajce.JcaPEMWriter
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
public class JcaPEMWriter extends org.bouncycastle.util.io.pem.PemWriter
General purpose writer for OpenSSL PEM objects based on JCA/JCE classes.
-
-
Constructor Summary
Constructors Constructor Description JcaPEMWriter(java.io.Writer out)
Base constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeObject(java.lang.Object obj)
void
writeObject(java.lang.Object obj, PEMEncryptor encryptor)
void
writeObject(org.bouncycastle.util.io.pem.PemObjectGenerator obj)
-
-
-
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
- Parameters:
obj
-encryptor
-- Throws:
java.io.IOException
-
writeObject
public void writeObject(org.bouncycastle.util.io.pem.PemObjectGenerator obj) throws java.io.IOException
- Overrides:
writeObject
in classorg.bouncycastle.util.io.pem.PemWriter
- Throws:
java.io.IOException
-
-