public class OEROutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected java.io.PrintWriter |
debugOutput |
| Constructor and Description |
|---|
OEROutputStream(java.io.OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
static int |
byteLength(long value)
The number of octets
value occupies as an unsigned big-endian number with no leading
zero octets: 0 for 0, 1 for 1..255, 2 for 256..65535, and 8 for any negative argument. |
protected void |
debugPrint(java.lang.String what) |
void |
write(org.bouncycastle.asn1.ASN1Encodable encodable,
Element oerElement) |
void |
write(int b) |
void |
writePlainType(org.bouncycastle.asn1.ASN1Encodable value,
Element e) |
public static int byteLength(long value)
value occupies as an unsigned big-endian number with no leading
zero octets: 0 for 0, 1 for 1..255, 2 for 256..65535, and 8 for any negative argument.public void write(org.bouncycastle.asn1.ASN1Encodable encodable,
Element oerElement)
throws java.io.IOException
java.io.IOExceptionprotected void debugPrint(java.lang.String what)
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void writePlainType(org.bouncycastle.asn1.ASN1Encodable value,
Element e)
throws java.io.IOException
java.io.IOException