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.SignDocCapture, 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-universal
- libraries for OS X (arm64 and x86_64)
- 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/init-*
- /etc/init.d scripts for various Linux distributions
- linux-ARCH/install-SignDocInit.sh
- Script for installing SignPad support
- 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_44.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.../Qt5Core.dll
- Qt DLL used by SPSignDocQt.dll and sppdfedit.exe
- Win.../Qt5Gui.dll
- Qt DLL used by SPSignDocQt.dll and sppdfedit.exe
- Win.../Qt5Help.dll
- Qt DLL used by sppdfedit.exe
- Win.../Qt5Widgets.dll
- Qt DLL used by SPSignDocQt.dll and sppdfedit.exe
- Win.../SPSignDocQt.dll
- DLL containing SignDoc SDK code depending on Qt
- Win.../SPSignDoc_5.0.dll
- DLL containing the SignDoc SDK core
- Win.../SPFreeImage_1.dll
- DLL containing an adaption of FreeImage
- Win.../SPTiff_44.dll
- DLL containing an adaption of libtiff
- Win.../platforms/qwindows.dll
- Qt DLL used by SPSignDocQt.dll
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.
Set property
android:extractNativeLibs="true"
of the application
element in AndroidManifest.xml to enable loading bundled shared libraries from native code.