java.lang.Object | |||
↳ | java.io.InputStream | ||
↳ | java.io.FilterInputStream | ||
↳ | org.bouncycastle.asn1.ASN1InputStream |
a general purpose ASN.1 decoder - note: this class differs from the others in that it returns null after it has read the last object in the stream. If an ASN.1 NULL is encountered a DER/BER Null object is returned.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.bouncycastle.asn1.DERTags
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.FilterInputStream
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create an ASN1InputStream based on the input byte array.
| |||||||||||
Create an ASN1InputStream based on the input byte array.
| |||||||||||
Create an ASN1InputStream where no DER object will be longer than limit.
| |||||||||||
Create an ASN1InputStream where no DER object will be longer than limit, and constructed
objects such as sequences will be parsed lazily.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
build an object given its tag and the number of bytes to construct it from.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.FilterInputStream
| |||||||||||
From class
java.io.InputStream
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
|
Create an ASN1InputStream based on the input byte array. The length of DER objects in the stream is automatically limited to the length of the input array.
input | array containing ASN.1 encoded data. |
---|
Create an ASN1InputStream based on the input byte array. The length of DER objects in the stream is automatically limited to the length of the input array.
input | array containing ASN.1 encoded data. |
---|---|
lazyEvaluate | true if parsing inside constructed objects can be delayed. |
Create an ASN1InputStream where no DER object will be longer than limit.
input | stream containing ASN.1 encoded data. |
---|---|
limit | maximum size of a DER encoded object. |
Create an ASN1InputStream where no DER object will be longer than limit, and constructed objects such as sequences will be parsed lazily.
input | stream containing ASN.1 encoded data. |
---|---|
limit | maximum size of a DER encoded object. |
lazyEvaluate | true if parsing inside constructed objects can be delayed. |
build an object given its tag and the number of bytes to construct it from.
IOException |
---|