|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdemo.APIDemo
Performs signatures and verifications with the pdfas api.
| Method Summary | |
static void |
main(String[] args)
Starts a demo that signs a document and performs a verification afterwards. |
static void |
signWithAllProfilesDemo()
Signs a test document with each available profile. |
static void |
signWithSingleProfileDemo()
Signs a test document with a single profile. |
static void |
verify(PdfAs pdfasAPI,
File source,
String verifyDevice)
Verifies a pdf document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void verify(PdfAs pdfasAPI,
File source,
String verifyDevice)
throws PdfAsException,
IOException
pdfasAPI - The instantiated api.source - The signed pdf document.verifyDevice - The device used for verification (see
Constants.SIGNATURE_DEVICE_MOA and
Constants.SIGNATURE_DEVICE_BKU).
PdfAsException - Thrown in case of an error.
IOException - Thrown in case of an i/o error.public static void signWithAllProfilesDemo()
public static void signWithSingleProfileDemo()
public static void main(String[] args)
args - The parameter(s).
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||