Package org.bouncycastle.asn1
Class BERApplicationSpecificParser
- java.lang.Object
-
- org.bouncycastle.asn1.BERApplicationSpecificParser
-
- All Implemented Interfaces:
ASN1ApplicationSpecificParser,ASN1Encodable,InMemoryRepresentable
public class BERApplicationSpecificParser extends Object implements ASN1ApplicationSpecificParser
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1PrimitivegetLoadedObject()Get the in-memory representation of the ASN.1 object.ASN1EncodablereadObject()Read the next object in the parser.ASN1PrimitivetoASN1Primitive()Return an object, possibly constructed, of ASN.1 primitives
-
-
-
Method Detail
-
readObject
public ASN1Encodable readObject() throws IOException
Description copied from interface:ASN1ApplicationSpecificParserRead the next object in the parser.- Specified by:
readObjectin interfaceASN1ApplicationSpecificParser- Returns:
- an ASN1Encodable
- Throws:
IOException- on a parsing or decoding error.
-
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.
-
-