Package org.gudy.bouncycastle.asn1
Class DERInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.gudy.bouncycastle.asn1.DERInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,DERTags
- Direct Known Subclasses:
BERInputStream
public class DERInputStream extends java.io.FilterInputStream implements DERTags
Deprecated.use ASN1InputStreamDon't use this class. It will eventually disappear, use ASN1InputStream.
This class is scheduled for removal.
-
-
Field Summary
-
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
-
-
Constructor Summary
Constructors Constructor Description DERInputStream(java.io.InputStream is)
Deprecated.use ASN1InputStream
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
-
-
-
-
Method Detail
-
readLength
protected int readLength() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
readFully
protected void readFully(byte[] bytes) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
buildObject
protected DERObject buildObject(int tag, byte[] bytes) throws java.io.IOException
Deprecated.build an object given its tag and a byte stream to construct it from.- Throws:
java.io.IOException
-
readObject
public DERObject readObject() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
-