org.bouncycastle.util.io.pem.PemObjectGenerator.java Source code

Java tutorial

Introduction

Here is the source code for org.bouncycastle.util.io.pem.PemObjectGenerator.java

Source

package org.bouncycastle.util.io.pem;

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