001package org.apache.commons.ssl.org.bouncycastle.asn1; 002 003import java.io.IOException; 004 005/** 006 * Interface to parse ASN.1 application specific objects. 007 */ 008public interface ASN1ApplicationSpecificParser 009 extends ASN1Encodable, InMemoryRepresentable 010{ 011 /** 012 * Read the next object in the parser. 013 * 014 * @return an ASN1Encodable 015 * @throws IOException on a parsing or decoding error. 016 */ 017 ASN1Encodable readObject() 018 throws IOException; 019}