Package org.bouncycastle.oer
Class OEROutputStream
java.lang.Object
java.io.OutputStream
org.bouncycastle.oer.OEROutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
byteLength
(long value) protected void
debugPrint
(String what) void
write
(int b) void
void
writePlainType
(org.bouncycastle.asn1.ASN1Encodable value, Element e) Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write
-
Field Details
-
debugOutput
-
-
Constructor Details
-
OEROutputStream
-
-
Method Details
-
byteLength
public static int byteLength(long value) -
write
public void write(org.bouncycastle.asn1.ASN1Encodable encodable, Element oerElement) throws IOException - Throws:
IOException
-
debugPrint
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
writePlainType
- Throws:
IOException
-