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
PdfAs
sign
in interface PdfAs
PdfAsException
public java.util.List<VerifyResult> verify(VerifyParameter parameter) throws PdfAsException
PdfAs
verify
in interface PdfAs
parameter
- The verification parameterPdfAsException
public Configuration getConfiguration()
PdfAs
getConfiguration
in interface PdfAs
public StatusRequest startSign(SignParameter parameter) throws PdfAsException
PdfAs
startSign
in interface PdfAs
parameter
- The sign parameterPdfAsException
public StatusRequest process(StatusRequest statusRequest) throws PdfAsException
PdfAs
process
in interface PdfAs
statusRequest
- The current statusPdfAsException
public SignResult finishSign(StatusRequest statusRequest) throws PdfAsException
PdfAs
finishSign
in interface PdfAs
statusRequest
- The current statusPdfAsException