Top Description Fields Constructors Methods
org.bouncycastle.asn1

public Class ASN1StreamParser

extends Object
Class Inheritance
Imports
java.io.ByteArrayInputStream, .IOException, .InputStream

A parser for ASN.1 streams which also returns, where possible, parsers for the objects it encounters.

Field Summary

Modifier and TypeField and Description
private final InputStream
private final int
private final byte[][]

Constructor Summary

AccessConstructor and Description
public
public
public
ASN1StreamParser(byte[] encoding)

Method Summary

Modifier and TypeMethod and Description
pack-priv ASN1Encodable
readImplicit(boolean constructed, int tag)

pack-priv ASN1Encodable
readIndef(int tagValue)

public ASN1Encodable
pack-priv ASN1Primitive
readTaggedObject(boolean constructed, int tag)

pack-priv ASN1EncodableVector
private void
set00Check(boolean enabled)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_inback to summary
private final InputStream _in
_limitback to summary
private final int _limit
tmpBuffersback to summary
private final byte[][] tmpBuffers

Constructor Detail

ASN1StreamParserback to summary
public ASN1StreamParser(InputStream in)
ASN1StreamParserback to summary
public ASN1StreamParser(InputStream in, int limit)
ASN1StreamParserback to summary
public ASN1StreamParser(byte[] encoding)

Method Detail

readImplicitback to summary
pack-priv ASN1Encodable readImplicit(boolean constructed, int tag) throws IOException
readIndefback to summary
pack-priv ASN1Encodable readIndef(int tagValue) throws IOException
readObjectback to summary
public ASN1Encodable readObject() throws IOException
readTaggedObjectback to summary
pack-priv ASN1Primitive readTaggedObject(boolean constructed, int tag) throws IOException
readVectorback to summary
pack-priv ASN1EncodableVector readVector() throws IOException
set00Checkback to summary
private void set00Check(boolean enabled)