org.bouncycastle.asn1
public class ASN1InputStream extends FilterInputStream implements DERTags
| Constructor Summary | |
|---|---|
| ASN1InputStream(InputStream is) | |
| ASN1InputStream(byte[] input)
Create an ASN1InputStream based on the input byte array. | |
| ASN1InputStream(InputStream input, int limit)
Create an ASN1InputStream where no DER object will be longer than limit.
| |
| Method Summary | |
|---|---|
| protected DERObject | buildObject(int tag, int tagNo, byte[] bytes)
build an object given its tag and a byte stream to construct it
from. |
| protected void | readFully(byte[] bytes) |
| protected int | readLength() |
| DERObject | readObject() |
Parameters: input array containing ASN.1 encoded data.
Parameters: input stream containing ASN.1 encoded data. limit maximum size of a DER encoded object.