InMemoryRepresentable (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.asn1

## Interface InMemoryRepresentable

- All Known Subinterfaces:
    ASN1BitStringParser, ASN1ExternalParser, ASN1OctetStringParser, ASN1SequenceParser, ASN1SetParser, ASN1TaggedObjectParser
  All Known Implementing Classes:
    ASN1BitString, ASN1OctetString, ASN1TaggedObject, BERBitString, BERBitStringParser, BEROctetString, BEROctetStringParser, BERSequenceParser, BERSetParser, BERTaggedObject, DERBitString, DERExternalParser, DEROctetString, DEROctetStringParser, DERTaggedObject, DLBitString, DLBitStringParser, DLSequenceParser, DLSetParser, DLTaggedObject, NetscapeCertType, PKIFailureInfo, ReasonFlags

      public interface InMemoryRepresentable

  Interface implemented by objects that can be converted from streaming to in-memory objects.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ASN1Primitive` | `getLoadedObject()` Get the in-memory representation of the ASN.1 object.

- - ### Method Detail

    - #### getLoadedObject

          ASN1Primitive getLoadedObject()
                                 throws java.io.IOException

      Get the in-memory representation of the ASN.1 object.
      Returns:
        an ASN1Primitive representing the loaded object.
      Throws:
        `java.io.IOException` - for bad input data.