| java.lang.Object java.io.InputStream java.io.FilterInputStream org.bouncycastle.asn1.ASN1InputStream
ASN1InputStream | public class ASN1InputStream extends FilterInputStream implements DERTags(Code) | | 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.
|
eofFound | boolean eofFound(Code) | | |
ASN1InputStream | public ASN1InputStream(byte[] input)(Code) | | 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.
Parameters: input - array containing ASN.1 encoded data. |
ASN1InputStream | public ASN1InputStream(InputStream input, int limit)(Code) | | Create an ASN1InputStream where no DER object will be longer than limit.
Parameters: input - stream containing ASN.1 encoded data. Parameters: limit - maximum size of a DER encoded object. |
buildObject | protected DERObject buildObject(int tag, int tagNo, int length) throws IOException(Code) | | build an object given its tag and the number of bytes to construct it from.
|
|
|