SignDoc SDK (C)  5.0.1.32
All Classes Files Functions Variables Typedefs Macros Pages
Sample code

The following sample programs are shipped with SignDoc SDK:

  • capisample (C): add a field, add image near some text, capture a signature (headless or with a GUI), sign the document, verify the signature
  • SignDocCaptureDisplayControlEx.cs (C#): an implementation of SignDocCaptureDisplay equivalent to SignDocCaptureDisplayControl, using exceptions
  • SignDocCaptureDisplayControlEx.cs (C#): an implementation of SignDocCaptureDisplay equivalent to SignDocCaptureDisplayControl, without using exceptions
  • SignDocSample1 (C++): add a field, capture a signature (headless or with a GUI), sign the document, verify the signature
  • SignDocSample2 (Java): add a field, capture a signature (with a GUI and on-screen buttons), sign the document, verify the signature
  • SignDocSample3 (Java): add a field, capture a signature (with a GUI and virtual buttons on the capture device), sign the document, verify the signature
  • SignDocSample4 (Java): sign using the SignPKCS7 interface
  • SignDocSample5 (Java): sign using the old SignPKCS7 interface (before SignDoc SDK 4.1) adapted to the new SignPKCS7 interface (SignDoc SDK 5.0)
  • SignDocSample6 (Java): sign using the SignRSA interface
  • SignDocSample7 (Java): thoroughly validate signatures (without LTV)
  • SignDocSample8 (Java): validate LTV signatures
  • SignDocSample10 (C#): add a field, capture a signature (headless or with a GUI), sign the document (using the SignDoc SDK .NET API reporting errors via return codes)
  • SignDocSample11 (C#): add a field, capture a signature (headless or with a GUI), sign the document (using the SignDoc SDK .NET API reporting errors via exceptions)
  • SignDocSample12 (Java): capture signatures and references, compare signatures and references
  • SignDocSample13 (Java): sign and verify with RSA-encrypted biometric data
  • SignDocSample14 (C++): capture a signature from a touchscreen or a pen and store the captured signature into a file (Windows 10 and later, SignDocCapture does not yet support touch screens)
  • SignDocSample15 (Java): multi-phase signing with SignRSA
  • SignDocSample16 (C#): clean a signature image (using the SignDoc SDK .NET API reporting errors via return codes)
  • SignDocSample17 (C#): clean a signature image (using the SignDoc SDK .NET API reporting errors via exceptions)
  • SignDocSample18 (Java): sign using the SignECDSA interface
  • SignDocSampleOpenSSL1 (C++): sign using the SignPKCS7 interface implemented with OpenSSL
  • SignDocSampleOpenSSL2 (C++): sign using the old SignPKCS7 interface (before SignDoc SDK 4.1) adapted to the new SignPKCS7 interface (SignDoc SDK 5.0)
  • SignDocSampleOpenSSL3 (C++): sign using the SignRSA interface implemented with OpenSSL