public class PdfAsImpl extends Object implements PdfAs, IConfigurationConstants
DEFAULT, DEFAULT_SIGNATURE_PROFILE, FALSE, LEGACY_POSITIONING, MAIN, PLACEHOLDER_SEARCH_ENABLED, POS, SEPERATOR, SIG_OBJECT, TABLE, TRUE, TYPE
Modifier and Type | Method and Description |
---|---|
SignResult |
finishSign(StatusRequest statusRequest)
Finishes a signature process
|
Configuration |
getConfiguration()
Gets a copy of the PDF-AS configuration, to allow the application to
override configuration parameters at runtime.
|
StatusRequest |
process(StatusRequest statusRequest)
Continues an ongoing signature process
|
SignResult |
sign(SignParameter parameter)
Signs a PDF document using PDF-AS.
|
StatusRequest |
startSign(SignParameter parameter)
Starts a signature process
After the process has to be startet the status request has to be services by the user application
|
List<VerifyResult> |
verify(VerifyParameter parameter)
Verifies a document with (potentially multiple) PDF-AS signatures.
|
public PdfAsImpl(File cfgFile)
public SignResult sign(SignParameter parameter) throws at.gv.egiz.pdfas.common.exceptions.PdfAsException
PdfAs
public List<VerifyResult> verify(VerifyParameter parameter) throws at.gv.egiz.pdfas.common.exceptions.PdfAsException
PdfAs
public Configuration getConfiguration()
PdfAs
getConfiguration
in interface PdfAs
public StatusRequest startSign(SignParameter parameter) throws at.gv.egiz.pdfas.common.exceptions.PdfAsException
PdfAs
public StatusRequest process(StatusRequest statusRequest) throws at.gv.egiz.pdfas.common.exceptions.PdfAsException
PdfAs
public SignResult finishSign(StatusRequest statusRequest) throws at.gv.egiz.pdfas.common.exceptions.PdfAsException
PdfAs
finishSign
in interface PdfAs
statusRequest
- The current statusat.gv.egiz.pdfas.common.exceptions.PdfAsException