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.PrintWriterdebugOutput
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intbyteLength(long value)static OEROutputStreamcreate(java.io.OutputStream out)Creates an output stream filter built on top of the specified underlying output stream.protected voiddebugPrint(java.lang.String what)voidwrite(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, ornullif 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)
-
-