Package org.bouncycastle.asn1
Class BERTaggedObjectParser
- java.lang.Object
-
- org.bouncycastle.asn1.BERTaggedObjectParser
-
- All Implemented Interfaces:
ASN1Encodable,ASN1TaggedObjectParser,InMemoryRepresentable
public class BERTaggedObjectParser extends Object implements ASN1TaggedObjectParser
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1PrimitivegetLoadedObject()Get the in-memory representation of the ASN.1 object.ASN1EncodablegetObjectParser(int tag, boolean isExplicit)intgetTagNo()booleanisConstructed()ASN1PrimitivetoASN1Primitive()Return an object, possibly constructed, of ASN.1 primitives
-
-
-
Method Detail
-
isConstructed
public boolean isConstructed()
-
getTagNo
public int getTagNo()
- Specified by:
getTagNoin interfaceASN1TaggedObjectParser
-
getObjectParser
public ASN1Encodable getObjectParser(int tag, boolean isExplicit) throws IOException
- Specified by:
getObjectParserin interfaceASN1TaggedObjectParser- Throws:
IOException
-
getLoadedObject
public ASN1Primitive getLoadedObject() throws IOException
Description copied from interface:InMemoryRepresentableGet the in-memory representation of the ASN.1 object.- Specified by:
getLoadedObjectin interfaceInMemoryRepresentable- Throws:
IOException- for bad input data.
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from interface:ASN1EncodableReturn an object, possibly constructed, of ASN.1 primitives- Specified by:
toASN1Primitivein interfaceASN1Encodable- Returns:
- an ASN.1 primitive.
-
-