package org.bouncycastle.util.io.pem;

Base interface for generators of PEM objects.
/** * Base interface for generators of PEM objects. */
public interface PemObjectGenerator {
Generate a PEM object.
Throws:
Returns:the generated object.
/** * Generate a PEM object. * * @return the generated object. * @throws PemGenerationException on failure. */
PemObject generate() throws PemGenerationException; }