org.gudy.bouncycastle.asn1
Class DERInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.gudy.bouncycastle.asn1.DERInputStream
- All Implemented Interfaces:
- Closeable, DERTags
- Direct Known Subclasses:
- BERInputStream
Deprecated. use ASN1InputStream
public class DERInputStream
- extends FilterInputStream
- implements DERTags
Don't use this class. It will eventually disappear, use ASN1InputStream.
This class is scheduled for removal.
Fields inherited from interface org.gudy.bouncycastle.asn1.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DERInputStream
public DERInputStream(InputStream is)
- Deprecated. use ASN1InputStream
readLength
protected int readLength()
throws IOException
- Deprecated.
- Throws:
IOException
readFully
protected void readFully(byte[] bytes)
throws IOException
- Deprecated.
- Throws:
IOException
buildObject
protected DERObject buildObject(int tag,
byte[] bytes)
throws IOException
- Deprecated.
- build an object given its tag and a byte stream to construct it
from.
- Throws:
IOException
readObject
public DERObject readObject()
throws IOException
- Deprecated.
- Throws:
IOException