1 package org.bouncycastle.asn1; 2 3 import java.io.IOException; 4 5 /** 6 * Interface implemented by objects that can be converted from streaming to in-memory objects. 7 */ 8 public interface InMemoryRepresentable 9 { 10 /** 11 * Get the in-memory representation of the ASN.1 object. 12 * @return an ASN1Primitive representing the loaded object. 13 * @throws IOException for bad input data. 14 */ getLoadedObject()15 ASN1Primitive getLoadedObject() 16 throws IOException; 17 } 18