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:
Closeable
,Flushable
,Appendable
,AutoCloseable
public class JcaPEMWriter
extends org.bouncycastle.util.io.pem.PemWriter
General purpose writer for OpenSSL PEM objects based on JCA/JCE classes.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeObject
(Object obj) void
writeObject
(Object obj, PEMEncryptor encryptor) void
writeObject
(org.bouncycastle.util.io.pem.PemObjectGenerator obj) Methods inherited from class org.bouncycastle.util.io.pem.PemWriter
getOutputSize
-
Constructor Details
-
JcaPEMWriter
Base constructor.- Parameters:
out
- output stream to use.
-
-
Method Details
-
writeObject
- Throws:
IOException
-
writeObject
- Parameters:
obj
-encryptor
-- Throws:
IOException
-
writeObject
- Overrides:
writeObject
in classorg.bouncycastle.util.io.pem.PemWriter
- Throws:
IOException
-