summaryrefslogtreecommitdiffstats
path: root/bcprov/src/main/java/org/bouncycastle/asn1/ASN1SetParser.java
blob: 5f36dbb854350e149c85e5b8e4831b8ef82d6100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.bouncycastle.asn1;

import java.io.IOException;

/**
 * A basic parser for a SET object
 */
public interface ASN1SetParser
    extends ASN1Encodable, InMemoryRepresentable
{
    /**
     * Read the next object from the underlying object representing a SET.
     *
     * @throws IOException for bad input stream.
     * @return the next object, null if we are at the end.
     */
    public ASN1Encodable readObject()
        throws IOException;
}