public class DEROutputStream extends java.io.FilterOutputStream implements DERTags
APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING| Constructor and Description |
|---|
DEROutputStream(java.io.OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
writeEncoded(int tag,
byte[] bytes) |
private void |
writeLength(int length) |
protected void |
writeNull() |
void |
writeObject(java.lang.Object obj) |
private void writeLength(int length)
throws java.io.IOException
java.io.IOExceptionvoid writeEncoded(int tag,
byte[] bytes)
throws java.io.IOException
java.io.IOExceptionprotected void writeNull()
throws java.io.IOException
java.io.IOExceptionpublic void writeObject(java.lang.Object obj)
throws java.io.IOException
java.io.IOException