Bouncy Castle Cryptography 1.51

org.bouncycastle.asn1
Class BERTaggedObjectParser

java.lang.Object
  extended by org.bouncycastle.asn1.BERTaggedObjectParser
All Implemented Interfaces:
ASN1Encodable, ASN1TaggedObjectParser, InMemoryRepresentable

public class BERTaggedObjectParser
extends java.lang.Object
implements ASN1TaggedObjectParser


Method Summary
 ASN1Primitive getLoadedObject()
          Get the in-memory representation of the ASN.1 object.
 ASN1Encodable getObjectParser(int tag, boolean isExplicit)
           
 int getTagNo()
           
 boolean isConstructed()
           
 ASN1Primitive toASN1Primitive()
          Return an object, possibly constructed, of ASN.1 primitives
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isConstructed

public boolean isConstructed()

getTagNo

public int getTagNo()
Specified by:
getTagNo in interface ASN1TaggedObjectParser

getObjectParser

public ASN1Encodable getObjectParser(int tag,
                                     boolean isExplicit)
                              throws java.io.IOException
Specified by:
getObjectParser in interface ASN1TaggedObjectParser
Throws:
java.io.IOException

getLoadedObject

public ASN1Primitive getLoadedObject()
                              throws java.io.IOException
Description copied from interface: InMemoryRepresentable
Get the in-memory representation of the ASN.1 object.

Specified by:
getLoadedObject in interface InMemoryRepresentable
Throws:
java.io.IOException - for bad input data.

toASN1Primitive

public ASN1Primitive toASN1Primitive()
Description copied from interface: ASN1Encodable
Return an object, possibly constructed, of ASN.1 primitives

Specified by:
toASN1Primitive in interface ASN1Encodable
Returns:
an ASN.1 primitive.

Bouncy Castle Cryptography 1.51