public class DEROutputStream extends FilterOutputStream implements DERTags
outAPPLICATION, 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(OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] buf) |
void |
write(byte[] buf,
int offSet,
int len) |
(package private) void |
writeEncoded(int tag,
byte[] bytes) |
private void |
writeLength(int length) |
protected void |
writeNull() |
void |
writeObject(Object obj) |
close, flush, writepublic DEROutputStream(OutputStream os)
private void writeLength(int length) throws IOException
IOExceptionvoid writeEncoded(int tag, byte[] bytes) throws IOException
IOExceptionprotected void writeNull() throws IOException
IOExceptionpublic void write(byte[] buf) throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] buf, int offSet, int len) throws IOException
write in class FilterOutputStreamIOExceptionpublic void writeObject(Object obj) throws IOException
IOException