Top Description Methods
org.bouncycastle.asn1

public Interface ASN1TaggedObjectParser

extends ASN1Encodable, InMemoryRepresentable
Known Direct Implementers
org.bouncycastle.asn1.BERTaggedObjectParser, org.bouncycastle.asn1.ASN1TaggedObject
Imports
java.io.IOException

Interface for the parsing of a generic tagged ASN.1 object.

Method Summary

Modifier and TypeMethod and Description
public ASN1Encodable

Returns:

a parser for the tagged object.
getObjectParser
(int
the primitive tag value for the object tagged originally.
tag
,
boolean
true if the tagging was done explicitly.
isExplicit
)

Return a parser for the actual object tagged.

public int

Returns:

the object's tag number.
getTagNo
()

Return the tag number associated with the underlying tagged object.

Inherited from org.bouncycastle.asn1.ASN1Encodable:
toASN1Primitive
Inherited from org.bouncycastle.asn1.InMemoryRepresentable:
getLoadedObject

Method Detail

getObjectParserback to summary
public ASN1Encodable getObjectParser(int tag, boolean isExplicit) throws IOException

Return a parser for the actual object tagged.

Parameters
tag:int

the primitive tag value for the object tagged originally.

isExplicit:boolean

true if the tagging was done explicitly.

Returns:ASN1Encodable

a parser for the tagged object.

Exceptions
IOException:
if a parser cannot be constructed.
getTagNoback to summary
public int getTagNo()

Return the tag number associated with the underlying tagged object.

Returns:int

the object's tag number.