public class DERInputStream extends FilterInputStream implements DERTags
in
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(InputStream is)
Deprecated.
use ASN1InputStream
|
Modifier and Type | Method and Description |
---|---|
protected DERObject |
buildObject(int tag,
byte[] bytes)
Deprecated.
build an object given its tag and a byte stream to construct it
from.
|
protected void |
readFully(byte[] bytes)
Deprecated.
|
protected int |
readLength()
Deprecated.
|
DERObject |
readObject()
Deprecated.
|
available, close, mark, markSupported, read, read, read, reset, skip
public DERInputStream(InputStream is)
protected int readLength() throws IOException
IOException
protected void readFully(byte[] bytes) throws IOException
IOException
protected DERObject buildObject(int tag, byte[] bytes) throws IOException
IOException
public DERObject readObject() throws IOException
IOException