Package org.bouncycastle.asn1
Class BERApplicationSpecificParser
java.lang.Object
org.bouncycastle.asn1.BERApplicationSpecificParser
- All Implemented Interfaces:
ASN1ApplicationSpecificParser,ASN1Encodable,InMemoryRepresentable
A parser for indefinite-length ASN.1 ApplicationSpecific objects.
-
Method Summary
Modifier and TypeMethodDescriptionReturn an in-memory, encodable, representation of the application specific object.Return the object contained in this application specific object,Return a BERApplicationSpecific representing this parser and its contents.
-
Method Details
-
readObject
Return the object contained in this application specific object,- Specified by:
readObjectin interfaceASN1ApplicationSpecificParser- Returns:
- the contained object.
- Throws:
IOException- if the underlying stream cannot be read, or does not contain an ASN.1 encoding.
-
getLoadedObject
Return an in-memory, encodable, representation of the application specific object.- Specified by:
getLoadedObjectin interfaceInMemoryRepresentable- Returns:
- a BERApplicationSpecific.
- Throws:
IOException- if there is an issue loading the data.
-
toASN1Primitive
Return a BERApplicationSpecific representing this parser and its contents.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Returns:
- a BERApplicationSpecific
-