Package org.gudy.bouncycastle.asn1
Class BERInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.gudy.bouncycastle.asn1.DERInputStream
-
- org.gudy.bouncycastle.asn1.BERInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,DERTags
public class BERInputStream extends DERInputStream
Deprecated.use ASN1InputStream
-
-
Field Summary
Fields Modifier and Type Field Description private static DERObject
END_OF_STREAM
Deprecated.-
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 BERInputStream(java.io.InputStream is)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private BERConstructedOctetString
buildConstructedOctetString()
Deprecated.private byte[]
readIndefiniteLengthFully()
Deprecated.read a string of bytes representing an indefinite length object.DERObject
readObject()
Deprecated.-
Methods inherited from class org.gudy.bouncycastle.asn1.DERInputStream
buildObject, readFully, readLength
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
-
-
-
-
Field Detail
-
END_OF_STREAM
private static final DERObject END_OF_STREAM
Deprecated.
-
-
Method Detail
-
readIndefiniteLengthFully
private byte[] readIndefiniteLengthFully() throws java.io.IOException
Deprecated.read a string of bytes representing an indefinite length object.- Throws:
java.io.IOException
-
buildConstructedOctetString
private BERConstructedOctetString buildConstructedOctetString() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
readObject
public DERObject readObject() throws java.io.IOException
Deprecated.- Overrides:
readObject
in classDERInputStream
- Throws:
java.io.IOException
-
-