public class PdfAsImpl extends java.lang.Object implements PdfAs, IConfigurationConstants
DEFAULT, DEFAULT_SIGNATURE_PROFILE, FALSE, LEGACY_POSITIONING, MAIN, PLACEHOLDER_SEARCH_ENABLED, POS, SEPERATOR, SIG_OBJECT, TABLE, TRUE, TYPE| Constructor and Description |
|---|
PdfAsImpl(java.io.File cfgFile) |
| 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
|
java.util.List<VerifyResult> |
verify(VerifyParameter parameter)
Verifies a document with (potentially multiple) PDF-AS signatures.
|
public SignResult sign(SignParameter parameter) throws PdfAsException
PdfAssign in interface PdfAsPdfAsExceptionpublic java.util.List<VerifyResult> verify(VerifyParameter parameter) throws PdfAsException
PdfAsverify in interface PdfAsparameter - The verification parameterPdfAsExceptionpublic Configuration getConfiguration()
PdfAsgetConfiguration in interface PdfAspublic StatusRequest startSign(SignParameter parameter) throws PdfAsException
PdfAsstartSign in interface PdfAsparameter - The sign parameterPdfAsExceptionpublic StatusRequest process(StatusRequest statusRequest) throws PdfAsException
PdfAsprocess in interface PdfAsstatusRequest - The current statusPdfAsExceptionpublic SignResult finishSign(StatusRequest statusRequest) throws PdfAsException
PdfAsfinishSign in interface PdfAsstatusRequest - The current statusPdfAsException