Overview
SignDoc SDK enables the creation of applications which handle SignDoc documents, that is, rendering as images, signing, and verifying PDF and TIFF documents.
Main Classes
The main classes of the Java API of SignDoc SDK are: de.softpro.doc.SignDocDocument and de.softpro.doc.SignDocDocumentLoader.
Files
SignDoc SDK contains these directories:
- Win64
- Executables, DLLs, and libraries for 64-bit Windows
- WinRT_X64
- DLLs and libraries for X64 (64-bit) Windows Store apps.
- android-armv7a
- libraries for Android (armeabi v7a)
- android-arm64v8a
- libraries for Android (arm64 v8a)
- darwin-x86_64
- libraries for OS X
- linux-x86_64
- Executables and libraries for 64-bit x86 Linux
- doc/c
- Documentation for the C API
- doc/c++
- Documentation for the C++ API
- doc/java
- Documentation for the Java API
Important files include:
- License*.txt
- Licenses for third party libraries
- SPSignDoc_5.0.jar
- SignDoc Java API
- linux-ARCH/libSPFreeImage_1.so
- shared library containing an adaption of FreeImage
- linux-ARCH/libSPSignDoc_5.0.so
- shared library containing the SignDoc SDK core
- linux-ARCH/libSPTiff_40.so
- shared library containing an adaption of libtiff
- linux-ARCH/SignDocInit
- Initialize SignPad from /etc/init.d or udev
- linux-ARCH/udev-signpad-*.rules
- udev rules for SignPad
- Win.../SPSignDocQt.dll
- DLL containing SignDoc SDK code depending on SPQt
- Win.../SPSignDoc_5.0.dll
- DLL containing the SignDoc SDK core
- Win.../SP9_QtCore4.dll
- DLL containing an adaption of QtCore4.dll
- Win.../SP9_QtGui4.dll
- DLL containing an adaption of QtGui4.dll
- Win.../SPFreeImage_1.dll
- DLL containing an adaption of FreeImage
- Win.../SPTiff_40.dll
- DLL containing an adaption of libtiff
Windows
To be able to use SPSignDoc_5.0.dll, you have to install this Microsoft Visual C++ Redistributable Package:
Android
To build an Android app, copy
- SPSignDoc_5.0.jar to libs/
- android-armv7a/lib*.so to libs/armeabi-v7a/
- android-arm64v8a/lib*.so to libs/arm64-v8a/
of your project.
Before calling SignDocDocumentLoader.setLicenseKey(), you may want to enable logging to a file by calling SignDocDocumentLoader.initLogging(). If you do that you are responsible for trimming the log file from time to time.