package org.bouncycastle.asn1;

import java.io.IOException;

A basic parser for a SET object
/** * 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.
Returns:the next object, null if we are at the end.
/** * 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; }