001package org.apache.commons.ssl.org.bouncycastle.asn1; 002 003import java.io.IOException; 004 005/** 006 * Interface implemented by objects that can be converted from streaming to in-memory objects. 007 */ 008public interface InMemoryRepresentable 009{ 010 /** 011 * Get the in-memory representation of the ASN.1 object. 012 * @throws IOException for bad input data. 013 */ 014 ASN1Primitive getLoadedObject() 015 throws IOException; 016}