|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The PDF-AS API main interface.
Create an Object implementing this interface using the proper factory.
| Method Summary | |
AnalyzeResult |
analyze(AnalyzeParameters analyzeParameters)
Analyzes a document for signatures and returns a verify-able list of such. |
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. |
| Method Detail |
public SignResult sign(SignParameters signParameters)
throws PdfAsException
signParameters - The sign parameters.
PdfAsException - Thrown, if an error occurs.SignParameters,
SignResult
public VerifyResults verify(VerifyParameters verifyParameters)
throws PdfAsException
verifyParameters - The verify parameters.
PdfAsException - Thrown, if an error occurs.VerifyParameters,
VerifyResults,
VerifyResult
public AnalyzeResult analyze(AnalyzeParameters analyzeParameters)
throws PdfAsException
analyzeParameters - The analyzation parameters.
PdfAsException - Thrown on error.AnalyzeParameters,
AnalyzeResult,
{@link #verify(AnalyzeResult)}
public VerifyResults verify(VerifyAfterAnalysisParameters verifyAfterAnalysisParameters)
throws PdfAsException
verifyAfterAnalysisParameters - The parameters.
PdfAsException - Thrown on error.AnalyzeResult,
VerifyAfterAnalysisParameters,
VerifyResults,
VerifyResult,
{@link #analyze(AnalyzeParameters)}
public void reloadConfig()
throws PdfAsException
PdfAsException - Thrown, if an error occurs.
public List getProfileInformation()
throws PdfAsException
Note: 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.
SignatureProfile objects with
information about the profiles available in the configuration.
PdfAsException - Thrown on error.SignatureProfile
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||