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 |
---|---|
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(java.lang.Object obj) |
public DEROutputStream(java.io.OutputStream os)
private void writeLength(int length) throws java.io.IOException
java.io.IOException
void writeEncoded(int tag, byte[] bytes) throws java.io.IOException
java.io.IOException
protected void writeNull() throws java.io.IOException
java.io.IOException
public void write(byte[] buf) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] buf, int offSet, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void writeObject(java.lang.Object obj) throws java.io.IOException
java.io.IOException