Top Description Fields Constructors Methods
org.bouncycastle.asn1

pack-priv Class DLTaggedObjectParser

extends BERTaggedObjectParser
Class Inheritance
Imports
java.io.IOException

Parser for definite-length tagged objects.

Field Summary

Modifier and TypeField and Description
private final boolean
Inherited from org.bouncycastle.asn1.BERTaggedObjectParser:
_parser_tagClass_tagNo

Constructor Summary

AccessConstructor and Description
pack-priv
DLTaggedObjectParser(int tagClass, int tagNo, boolean constructed, ASN1StreamParser parser)

Method Summary

Modifier and TypeMethod and Description
public ASN1Primitive

Returns:

an ASN1TaggedObject.
getLoadedObject
()

Overrides org.bouncycastle.asn1.BERTaggedObjectParser.getLoadedObject.

Implements org.bouncycastle.asn1.InMemoryRepresentable.getLoadedObject.

Return an in-memory, encodable, representation of the tagged object.
public ASN1Encodable
public ASN1Encodable
public ASN1TaggedObjectParser
public ASN1TaggedObjectParser
Inherited from org.bouncycastle.asn1.BERTaggedObjectParser:
getTagClassgetTagNohasContextTaghasContextTaghasTaghasTagClasstoASN1Primitive

Field Detail

_constructedback to summary
private final boolean _constructed

Constructor Detail

DLTaggedObjectParserback to summary
pack-priv DLTaggedObjectParser(int tagClass, int tagNo, boolean constructed, ASN1StreamParser parser)

Method Detail

getLoadedObjectback to summary
public ASN1Primitive getLoadedObject() throws IOException

Overrides org.bouncycastle.asn1.BERTaggedObjectParser.getLoadedObject.

Implements org.bouncycastle.asn1.InMemoryRepresentable.getLoadedObject.

Return an in-memory, encodable, representation of the tagged object.

Returns:ASN1Primitive

an ASN1TaggedObject.

Exceptions
IOException:
if there is an issue loading the data.
parseBaseUniversalback to summary
public ASN1Encodable parseBaseUniversal(boolean declaredExplicit, int baseTagNo) throws IOException

Overrides org.bouncycastle.asn1.BERTaggedObjectParser.parseBaseUniversal.

Implements org.bouncycastle.asn1.ASN1TaggedObjectParser.parseBaseUniversal.

parseExplicitBaseObjectback to summary
public ASN1Encodable parseExplicitBaseObject() throws IOException

Overrides org.bouncycastle.asn1.BERTaggedObjectParser.parseExplicitBaseObject.

Implements org.bouncycastle.asn1.ASN1TaggedObjectParser.parseExplicitBaseObject.

Doc from org.bouncycastle.asn1.ASN1TaggedObjectParser.parseExplicitBaseObject.

Needed for open types, until we have better type-guided parsing support. Use sparingly for other purposes, and prefer parseExplicitBaseTagged() or parseBaseUniversal(boolean, int) where possible. Before using, check for matching tag class and number.

parseExplicitBaseTaggedback to summary
public ASN1TaggedObjectParser parseExplicitBaseTagged() throws IOException

Overrides org.bouncycastle.asn1.BERTaggedObjectParser.parseExplicitBaseTagged.

Implements org.bouncycastle.asn1.ASN1TaggedObjectParser.parseExplicitBaseTagged.

parseImplicitBaseTaggedback to summary
public ASN1TaggedObjectParser parseImplicitBaseTagged(int baseTagClass, int baseTagNo) throws IOException

Overrides org.bouncycastle.asn1.BERTaggedObjectParser.parseImplicitBaseTagged.

Implements org.bouncycastle.asn1.ASN1TaggedObjectParser.parseImplicitBaseTagged.