1 package org.bouncycastle.asn1; 2 3 import java.io.IOException; 4 5 /** 6 * A basic parser for a SEQUENCE object 7 */ 8 public interface ASN1SequenceParser 9 extends ASN1Encodable, InMemoryRepresentable 10 { 11 /** 12 * Read the next object from the underlying object representing a SEQUENCE. 13 * 14 * @throws IOException for bad input stream. 15 * @return the next object, null if we are at the end. 16 */ readObject()17 ASN1Encodable readObject() 18 throws IOException; 19 } 20