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

org.bouncycastle.util.io.pem

## Interface PemObjectParser

-     public interface PemObjectParser

  Base interface for parsers to convert PEM objects into specific objects.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `parseObject(PemObject obj)` Parse an object out of the PEM object passed in.

- - ### Method Detail

    - #### parseObject

          java.lang.Object parseObject(PemObject obj)
                                throws java.io.IOException

      Parse an object out of the PEM object passed in.
      Parameters:
        `obj` - the PEM object containing the details for the specific object.
      Returns:
        a specific object represented by the PEM object.
      Throws:
        `java.io.IOException` - on a parsing error.