org.apache.commons.ssl.asn1
public class DEROutputStream extends FilterOutputStream implements DERTags
out
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(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, write
public DEROutputStream(OutputStream os)
private void writeLength(int length) throws IOException
IOException
void writeEncoded(int tag, byte[] bytes) throws IOException
IOException
protected void writeNull() throws IOException
IOException
public void write(byte[] buf) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] buf, int offSet, int len) throws IOException
write
in class FilterOutputStream
IOException
public void writeObject(Object obj) throws IOException
IOException