Top Description Fields Constructors Methods
org.bouncycastle.asn1

public Class BERApplicationSpecificParser

extends Object
implements ASN1ApplicationSpecificParser
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1ApplicationSpecificParser, org.bouncycastle.asn1.InMemoryRepresentable, org.bouncycastle.asn1.ASN1Encodable
Imports
java.io.IOException

A parser for indefinite-length ASN.1 ApplicationSpecific objects.

Field Summary

Modifier and TypeField and Description
private final ASN1StreamParser
private final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public ASN1Primitive

Returns:

a BERApplicationSpecific.
getLoadedObject
()

Implements org.bouncycastle.asn1.InMemoryRepresentable.getLoadedObject.

Return an in-memory, encodable, representation of the application specific object.
public ASN1Encodable

Returns:

the contained object.
readObject
()

Implements org.bouncycastle.asn1.ASN1ApplicationSpecificParser.readObject.

Return the object contained in this application specific object,
public ASN1Primitive

Returns:

a BERApplicationSpecific
toASN1Primitive
()

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Return a BERApplicationSpecific representing this parser and its contents.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parserback to summary
private final ASN1StreamParser parser
tagback to summary
private final int tag

Constructor Detail

BERApplicationSpecificParserback to summary
pack-priv BERApplicationSpecificParser(int tag, ASN1StreamParser parser)

Method Detail

getLoadedObjectback to summary
public ASN1Primitive getLoadedObject() throws IOException

Implements org.bouncycastle.asn1.InMemoryRepresentable.getLoadedObject.

Return an in-memory, encodable, representation of the application specific object.

Returns:ASN1Primitive

a BERApplicationSpecific.

Exceptions
IOException:
if there is an issue loading the data.
readObjectback to summary
public ASN1Encodable readObject() throws IOException

Implements org.bouncycastle.asn1.ASN1ApplicationSpecificParser.readObject.

Return the object contained in this application specific object,

Returns:ASN1Encodable

the contained object.

Exceptions
IOException:
if the underlying stream cannot be read, or does not contain an ASN.1 encoding.
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Return a BERApplicationSpecific representing this parser and its contents.

Returns:ASN1Primitive

a BERApplicationSpecific