package org.bouncycastle.asn1;
import java.io.IOException;
Interface implemented by objects that can be converted from streaming to in-memory objects.
/**
* 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.
Throws: - IOException – for bad input data.
Returns: an ASN1Primitive representing the loaded object.
/**
* 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;
}