001package org.apache.commons.ssl.org.bouncycastle.asn1; 002 003import java.io.IOException; 004 005/** 006 * A basic parser for a SEQUENCE object 007 */ 008public interface ASN1SequenceParser 009 extends ASN1Encodable, InMemoryRepresentable 010{ 011 /** 012 * Read the next object from the underlying object representing a SEQUENCE. 013 * 014 * @throws IOException for bad input stream. 015 * @return the next object, null if we are at the end. 016 */ 017 ASN1Encodable readObject() 018 throws IOException; 019}