1 package org.bouncycastle.asn1; 2 3 import java.io.IOException; 4 5 /** 6 * Interface to parse ASN.1 application specific objects. 7 */ 8 public interface ASN1ApplicationSpecificParser 9 extends ASN1Encodable, InMemoryRepresentable 10 { 11 /** 12 * Read the next object in the parser. 13 * 14 * @return an ASN1Encodable 15 * @throws IOException on a parsing or decoding error. 16 */ 17 ASN1Encodable readObject() 18 throws IOException; 19 } 20