Top Description Fields Constructors Methods
org.bouncycastle.asn1

public Class DERSequenceParser

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

Parser class for DER SEQUENCEs.

Field Summary

Modifier and TypeField and Description
private ASN1StreamParser

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public ASN1Primitive

Returns:

a DERSequence.
getLoadedObject
()

Implements org.bouncycastle.asn1.InMemoryRepresentable.getLoadedObject.

Return an in memory, encodable, representation of the SEQUENCE.
public ASN1Encodable

Returns:

next object in SEQUENCE.
readObject
()

Implements org.bouncycastle.asn1.ASN1SequenceParser.readObject.

Return the next object in the SEQUENCE.
public ASN1Primitive

Returns:

a DERSequence.
toASN1Primitive
()

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

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

Field Detail

_parserback to summary
private ASN1StreamParser _parser

Constructor Detail

DERSequenceParserback to summary
pack-priv DERSequenceParser(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 SEQUENCE.

Returns:ASN1Primitive

a DERSequence.

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

Implements org.bouncycastle.asn1.ASN1SequenceParser.readObject.

Return the next object in the SEQUENCE.

Returns:ASN1Encodable

next object in SEQUENCE.

Exceptions
IOException:
if there is an issue loading the object.
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Return a DERSequence representing this parser and its contents.

Returns:ASN1Primitive

a DERSequence.