public class DERInputStream extends java.io.FilterInputStream 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 |
---|
DERInputStream(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
protected DERObject |
buildObject(int tag,
byte[] bytes)
build an object given its tag and a byte stream to construct it
from.
|
protected void |
readFully(byte[] bytes) |
protected int |
readLength() |
DERObject |
readObject() |
protected int readLength() throws java.io.IOException
java.io.IOException
protected void readFully(byte[] bytes) throws java.io.IOException
java.io.IOException
protected DERObject buildObject(int tag, byte[] bytes) throws java.io.IOException
java.io.IOException
public DERObject readObject() throws java.io.IOException
java.io.IOException