Package org.bouncycastle.oer
Class OEROutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.bouncycastle.oer.OEROutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class OEROutputStream extends java.io.OutputStream
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.PrintWriter
debugOutput
-
Constructor Summary
Constructors Constructor Description OEROutputStream(java.io.OutputStream out)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
byteLength(long value)
protected void
debugPrint(java.lang.String what)
void
write(int b)
void
write(org.bouncycastle.asn1.ASN1Encodable encodable, Element oerElement)
void
writePlainType(org.bouncycastle.asn1.ASN1Encodable value, Element e)
-
-
-
Method Detail
-
byteLength
public static int byteLength(long value)
-
write
public void write(org.bouncycastle.asn1.ASN1Encodable encodable, Element oerElement) throws java.io.IOException
- Throws:
java.io.IOException
-
debugPrint
protected void debugPrint(java.lang.String what)
-
write
public void write(int b) throws java.io.IOException
- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
writePlainType
public void writePlainType(org.bouncycastle.asn1.ASN1Encodable value, Element e) throws java.io.IOException
- Throws:
java.io.IOException
-
-