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