Class BERPrivateParser

    • Method Detail

      • readObject

        public ASN1Encodable readObject()
                                 throws java.io.IOException
        Return the object contained in this private object,
        Specified by:
        readObject in interface ASN1PrivateParser
        Returns:
        the contained object.
        Throws:
        java.io.IOException - if the underlying stream cannot be read, or does not contain an ASN.1 encoding.
      • getLoadedObject

        public ASN1Primitive getLoadedObject()
                                      throws java.io.IOException
        Return an in-memory, encodable, representation of the private object.
        Specified by:
        getLoadedObject in interface InMemoryRepresentable
        Returns:
        a BERPrivate.
        Throws:
        java.io.IOException - if there is an issue loading the data.