/* * * Copyright (c) 2006 by Know-Center, Graz, Austria * * * This software is the confidential and proprietary information of Know-Center, * Graz, Austria. You shall not disclose such Confidential Information and shall * use it only in accordance with the terms of the license agreement you entered * into with Know-Center. * * KNOW-CENTER MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, * OR NON-INFRINGEMENT. KNOW-CENTER SHALL NOT BE LIABLE FOR ANY DAMAGES * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING * THIS SOFTWARE OR ITS DERIVATIVES. * * $Id: PDFSignatureObject.java,v 1.3 2006/10/31 08:09:33 wprinz Exp $ */ package at.knowcenter.wag.egov.egiz.pdf; import at.knowcenter.wag.egov.egiz.exceptions.PDFDocumentException; import at.knowcenter.wag.egov.egiz.sig.SignatureObject; /** * Defines an interface to get access to PDF documents. There exists many open source libraries and * commercial libraries. * * @author wlackner */ public interface PDFSignatureObject { public void setSignatorObject(SignatureObject signatorObject); /** * Converts the current abstract signature object in a pdf signature object implementation * * @return the converted pdf signature object * @throws PDFDocumentException */ public Object getSignatureObject() throws PDFDocumentException; /** * Converts a abstract signature object in a pdf signature object implementation * * @param signatorObject the abstract signatorObject to convert * @return the converted pdf signature object * @throws PDFDocumentException */ public Object getSignatureObject(SignatureObject signatorObject) throws PDFDocumentException; }