public class BERApplicationSpecificParser extends Object implements ASN1ApplicationSpecificParser
Modifier and Type | Method and Description |
---|---|
ASN1Primitive |
getLoadedObject()
Return an in-memory, encodable, representation of the application specific object.
|
ASN1Encodable |
readObject()
Return the object contained in this application specific object,
|
ASN1Primitive |
toASN1Primitive()
Return a BERApplicationSpecific representing this parser and its contents.
|
public ASN1Encodable readObject() throws IOException
readObject
in interface ASN1ApplicationSpecificParser
IOException
- if the underlying stream cannot be read, or does not contain an ASN.1 encoding.public ASN1Primitive getLoadedObject() throws IOException
getLoadedObject
in interface InMemoryRepresentable
IOException
- if there is an issue loading the data.public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
Copyright © 2021 BouncyCastle.org. All rights reserved.