/** * */ package at.gv.egiz.pdfas.api.analyze; import java.util.List; import at.gv.egiz.pdfas.api.commons.SignatureInformation; import at.gv.egiz.pdfas.api.exceptions.PdfAsException; /** * The result of an analyze operation, which is a list of verifyable signatures. * * @author wprinz * */ public interface AnalyzeResult { /** * Returns the list of found signatures. * * @return Returns a list of {@link SignatureInformation} objects representing all * found signatures. * @throws PdfAsException * Thrown on error. * * @see SignatureInformation */ public List getSignatures() throws PdfAsException; public List getNoSignatures(); /** * Returns non textual data from pdf provided that {@link AnalyzeParameters#setReturnNonTextualObjects(boolean)} * has been set {@code true}. * @return List of {@link NonTextObjectInfo} */ public List getNonTextualObjects(); /** * Returns true if non textual objects have been found, false if not. * @return true if non textual objects have been found, false if not. */ public boolean hasNonTextualObjects(); }