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.PrintWriterdebugOutput
-
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 intbyteLength(long value)protected voiddebugPrint(java.lang.String what)voidwrite(int b)voidwrite(org.bouncycastle.asn1.ASN1Encodable encodable, Element oerElement)voidwritePlainType(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:
writein 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
-
-