Libdigidocpp library offers creating, signing and verification of digitally signed documents, according to XAdES and XML-DSIG standards. Documentation http://open-eid.github.io/libdigidocpp
C++ C CMake Shell PowerShell
Clone or download
metsma and kristelmerilain Use std::isalnum (#220)
Signed-off-by: Raul Metsma <raul@metsma.ee>
Latest commit 685ef09 Jul 23, 2018
Permalink
Failed to load latest commit information.
cmake @ d9b21f6 Increase version number and add release notes (#193) Mar 8, 2018
debian Fix build with legacy swig and add libc dependency (#206) May 28, 2018
doc Updated Programmer's Guide according to v3.12 of the library. Feb 29, 2016
etc Fix doxygen warnings (#214) Jun 26, 2018
examples Update example to latest API and make part of travis build (#199) Mar 29, 2018
patches Update xerces 3.2.1 fixes CI builds (#187) Mar 2, 2018
src Use std::isalnum (#220) Jul 23, 2018
test Fix some compiler warnings (#211) Jun 12, 2018
.gitmodules Add submodule Sep 17, 2014
.travis.yml Build java bindings on desktop platforms (#204) May 25, 2018
AUTHORS Converted AUTHORS encoding from ISO-8859-1 to UTF-8 (#170) Dec 11, 2017
CMakeLists.txt Increase version number and change default SiVa URL (#218) Jul 12, 2018
CONTRIBUTING.md Add README and travis project Dec 18, 2014
COPYING Converted COPYING encoding from ISO-8859-1 to UTF-8 (#171) Dec 12, 2017
LICENSE.LGPL Rebase from trunk Sep 17, 2014
README.md SF logo Jun 28, 2018
RELEASE-NOTES.md Increase version number and change default SiVa URL (#218) Jul 12, 2018
build.ps1 Update OpenSSL to 1.0.2o (#200) Apr 3, 2018
libdigidocpp.dox Revert BDoc 2.1.2 policy docref, enable validation May 5, 2017
libdigidocpp.i Add option to initialize TSL with parameters (#217) Jul 4, 2018
libdigidocpp.spec Rebase from trunk Sep 17, 2014
libdigidocpp.wxs Add new OCSP access certificate and use when old is expired (#205) May 27, 2018
prepare_osx_build_environment.sh Update OpenSSL to 1.0.2o (#200) Apr 3, 2018
prepare_win_build_environment.ps1 Update OpenSSL to 1.0.2o (#200) Apr 3, 2018

README.md

libdigidocpp

European Regional Development Fund

Building

Build Status Build Status Coverity Scan Build Status

Ubuntu

  1. Install dependencies

     sudo apt-get install cmake libxml-security-c-dev xsdcxx libssl-dev
    
    • doxygen - Optional, for API documentation
    • libboost-test-dev - Optional, for unittests
  2. Fetch the source

     git clone --recursive https://github.com/open-eid/libdigidocpp
     cd libdigidocpp
    
  3. Configure

     mkdir build
     cd build
     cmake ..
    
  4. Build

     make
    
  5. Install

     sudo make install
    
  6. Execute

     /usr/local/bin/digidoc-tool
    

OSX

  1. Install dependencies from

  2. Fetch the source

     git clone --recursive https://github.com/open-eid/libdigidocpp
     cd libdigidocpp
    
  3. Prepare

     sh prepare_osx_build_environment.sh all
    
  4. Configure

     mkdir build
     cd build
     cmake ..
    
  5. Build

     make
    
  6. Install

     sudo make install
    
  7. Execute

     /usr/local/bin/digidoc-tool
    

Windows

  1. Install dependencies and necessary tools from

  2. Fetch the source

     git clone --recursive https://github.com/open-eid/libdigidocpp
     cd libdigidocpp
    
  3. Prepare

     powershell -ExecutionPolicy ByPass -File prepare_win_build_environment.ps1
    
  4. Configure

     mkdir build
     cd build
     cmake ..
    

    Optional CMake parameters:

    -DSWIG_EXECUTABLE=C:/swigwin-3.0.12/swig.exe
    

    After running the cmake build, digidoc_csharp.dll along with the C# source files will be created, more info at examples/DigiDocCSharp/README.md.

  5. Build

     nmake
    
  6. Alternative to steps 4. and 5. -

     powershell -ExecutionPolicy ByPass -File build.ps1
    

    The build script builds executables and installation media for all platforms (x86 and x64 / Debug and Release with debug symbols)

  7. Execute

     src/digidoc-tool.exe
    

iOS Experimental

examples/libdigidocpp-ios/README.md

Android Experimental

examples/libdigidocpp-android/README.md

Support

Official builds are provided through official distribution point installer.id.ee. If you want support, you need to be using official builds. Contact for assistance by email abi@id.ee or www.id.ee.

Source code is provided on "as is" terms with no warranty (see license for more information). Do not file Github issues with generic support requests.