|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.gv.egiz.pdfas.impl.api.PdfAsObject
Implementation of the PdfAs interface.
| Constructor Summary | |
PdfAsObject()
This constructor is for internal use only - use PdfAsFactory instead. |
|
PdfAsObject(File workDirectory)
This constructor is for internal use only - use PdfAsFactory instead. |
|
| Method Summary | |
AnalyzeResult |
analyze(AnalyzeParameters analyzeParameters)
Analyzes a document for signatures and returns a verify-able list of such. |
protected void |
fillAnalyzeParametersWithVerifyParameters(AnalyzeParameters ap,
VerifyParameters vp)
Copies all adequate parameters from the VerifyParameters to the
AnalyzeParameters. |
protected void |
fillVerifyAfterAnalysisParametersWithVerifyParameters(VerifyAfterAnalysisParameters vaap,
VerifyParameters vp)
Copies all adequate parameters from the VerifyParameters to the
VerifyAfterAnalysisParameters. |
List |
getProfileInformation()
Returns the list of information objects about the profiles available in the configuration. |
void |
reloadConfig()
Reloads the configuration from the work directory. |
SignResult |
sign(SignParameters signParameters)
Signs a PDF document using PDF-AS. |
VerifyResults |
verify(VerifyAfterAnalysisParameters verifyAfterAnalysisParameters)
Verifies a list of signatures that have been analyzed previously. |
VerifyResults |
verify(VerifyParameters verifyParameters)
Verifies a document with (potentially multiple) PDF-AS signatures. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PdfAsObject(File workDirectory)
throws PdfAsException
PdfAsFactory instead.
workDirectory - The work directory.
PdfAsException - Thrown, if the configuration cannot be processed.
public PdfAsObject()
throws PdfAsException
PdfAsFactory instead.
PdfAsException - Thrown, if the configuration cannot be processed.| Method Detail |
public void reloadConfig()
throws PdfAsException
PdfAs
reloadConfig in interface PdfAsPdfAsException - Thrown, if an error occurs.PdfAs.reloadConfig()
public List getProfileInformation()
throws PdfAsException
PdfAsNote: Currently the profile information consists of the profile Id and the MOA Key Id only.
Note: In near future the profile management will be moved out of the config file into an API class representation of the profiles which may render this (and related) methods obsolete.
getProfileInformation in interface PdfAsSignatureProfile objects with
information about the profiles available in the configuration.
PdfAsException - Thrown on error.PdfAs.getProfileInformation()
public SignResult sign(SignParameters signParameters)
throws PdfAsException
PdfAs
sign in interface PdfAssignParameters - The sign parameters.
PdfAsException - Thrown, if an error occurs.PdfAs.sign(at.gv.egiz.pdfas.api.sign.SignParameters)
public VerifyResults verify(VerifyParameters verifyParameters)
throws PdfAsException
PdfAs
verify in interface PdfAsverifyParameters - The verify parameters.
PdfAsException - Thrown, if an error occurs.PdfAs.verify(at.gv.egiz.pdfas.api.verify.VerifyParameters)
protected void fillAnalyzeParametersWithVerifyParameters(AnalyzeParameters ap,
VerifyParameters vp)
VerifyParameters to the
AnalyzeParameters.
ap - The AnalyzeParameters.vp - The VerifyParameters.
protected void fillVerifyAfterAnalysisParametersWithVerifyParameters(VerifyAfterAnalysisParameters vaap,
VerifyParameters vp)
VerifyParameters to the
VerifyAfterAnalysisParameters.
vaap - The VerifyAfterAnalysisParameters.vp - The VerifyParameters.
public AnalyzeResult analyze(AnalyzeParameters analyzeParameters)
throws PdfAsException
PdfAs
analyze in interface PdfAsanalyzeParameters - The analyzation parameters.
PdfAsException - Thrown on error.PdfAs.analyze(at.gv.egiz.pdfas.api.analyze.AnalyzeParameters)
public VerifyResults verify(VerifyAfterAnalysisParameters verifyAfterAnalysisParameters)
throws PdfAsException
PdfAs
verify in interface PdfAsverifyAfterAnalysisParameters - The parameters.
PdfAsException - Thrown on error.PdfAs.verify(at.gv.egiz.pdfas.api.verify.VerifyAfterAnalysisParameters)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||