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