Package org.bouncycastle.oer
Class OEROutputStream
- java.lang.Object
-
- org.bouncycastle.oer.OEROutputStream
-
public class OEROutputStream extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.PrintWriter
debugOutput
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
byteLength(long value)
static OEROutputStream
create(java.io.OutputStream out)
Creates an output stream filter built on top of the specified underlying output stream.protected void
debugPrint(java.lang.String what)
void
write(org.bouncycastle.asn1.ASN1Encodable encodable, OERDefinition.Element oerElement)
-
-
-
Method Detail
-
create
public static OEROutputStream create(java.io.OutputStream out)
Creates an output stream filter built on top of the specified underlying output stream.- Parameters:
out
- the underlying output stream to be assigned to the field this.out for later use, ornull
if this instance is to be created without an underlying stream.
-
write
public void write(org.bouncycastle.asn1.ASN1Encodable encodable, OERDefinition.Element oerElement) throws java.io.IOException
- Throws:
java.io.IOException
-
debugPrint
protected void debugPrint(java.lang.String what)
-
byteLength
public static int byteLength(long value)
-
-