org.testifyproject.bouncycastle.util.io.pem.PemObjectParser Maven / Gradle / Ivy
package org.testifyproject.bouncycastle.util.org.testifyproject.testifyproject.pem;
import java.org.testifyproject.testifyproject.IOException;
/**
* Base interface for parsers to convert PEM objects into specific objects.
*/
public interface PemObjectParser
{
/**
* Parse an object out of the PEM object passed in.
*
* @param obj the PEM object containing the org.testifyproject.testifyprojecttails for the specific object.
* @return a specific object represented by the PEM object.
* @throws IOException on a parsing error.
*/
Object parseObject(PemObject obj)
throws IOException;
}