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

org.bouncycastle.util.io.pem

## Interface PemObjectGenerator

- All Known Implementing Classes:
    PemObject

      public interface PemObjectGenerator

  Base interface for generators of PEM objects.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `PemObject` | `generate()` Generate a PEM object.

- - ### Method Detail

    - #### generate

          PemObject generate()
                      throws PemGenerationException

      Generate a PEM object.
      Returns:
        the generated object.
      Throws:
        `PemGenerationException` - on failure.