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
ASN1StreamParser(byte[] encoding)

public
pack-priv
ASN1StreamParser(InputStream in, int limit, byte[][] tmpBuffers)

Method Summary

Modifier and TypeMethod and Description
pack-priv ASN1Encodable
implParseObject(int tagHdr)

pack-priv ASN1Primitive
loadTaggedDL(int tagClass, int tagNo, boolean constructed)

pack-priv ASN1Primitive
loadTaggedIL(int tagClass, int tagNo)

pack-priv ASN1Encodable
pack-priv ASN1Encodable
pack-priv ASN1Encodable
parseImplicitPrimitive(int univTagNo)

pack-priv ASN1Encodable
pack-priv ASN1Encodable
parseObject(int univTagNo)

pack-priv ASN1TaggedObjectParser
public ASN1Encodable
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(byte[] encoding)
ASN1StreamParserback to summary
public ASN1StreamParser(InputStream in, int limit)
ASN1StreamParserback to summary
pack-priv ASN1StreamParser(InputStream in, int limit, byte[][] tmpBuffers)

Method Detail

implParseObjectback to summary
pack-priv ASN1Encodable implParseObject(int tagHdr) throws IOException
loadTaggedDLback to summary
pack-priv ASN1Primitive loadTaggedDL(int tagClass, int tagNo, boolean constructed) throws IOException
loadTaggedILback to summary
pack-priv ASN1Primitive loadTaggedIL(int tagClass, int tagNo) throws IOException
parseImplicitConstructedDLback to summary
pack-priv ASN1Encodable parseImplicitConstructedDL(int univTagNo) throws IOException
parseImplicitConstructedILback to summary
pack-priv ASN1Encodable parseImplicitConstructedIL(int univTagNo) throws IOException
parseImplicitPrimitiveback to summary
pack-priv ASN1Encodable parseImplicitPrimitive(int univTagNo) throws IOException
parseImplicitPrimitiveback to summary
pack-priv ASN1Encodable parseImplicitPrimitive(int univTagNo, DefiniteLengthInputStream defIn) throws IOException
parseObjectback to summary
pack-priv ASN1Encodable parseObject(int univTagNo) throws IOException
parseTaggedObjectback to summary
pack-priv ASN1TaggedObjectParser parseTaggedObject() throws IOException
readObjectback to summary
public ASN1Encodable readObject() throws IOException
readVectorback to summary
pack-priv ASN1EncodableVector readVector() throws IOException
set00Checkback to summary
private void set00Check(boolean enabled)