blob: 734298b922587a5dfc9cfdc911f43b5e99da5c0a [file] [log] [blame]
package org.bouncycastle.asn1;
import java.io.IOException;
/**
* Interface implemented by objects that can be converted from streaming to in-memory objects.
*/
public interface InMemoryRepresentable
{
/**
* Get the in-memory representation of the ASN.1 object.
* @return an ASN1Primitive representing the loaded object.
* @throws IOException for bad input data.
*/
ASN1Primitive getLoadedObject()
throws IOException;
}