libdigidocpp
- License: LGPL 2.1
- © Estonian Information System Authority
- Architecture of ID-software
Building
Ubuntu
-
Install dependencies
sudo apt-get install cmake libxml-security-c-dev xsdcxx libssl-dev
-
Fetch the source
git clone --recursive https://github.com/open-eid/libdigidocpp cd libdigidocpp
-
Configure
mkdir build cd build cmake ..
-
Build
make
-
Install
sudo make install
-
Execute
/usr/local/bin/digidoc-tool
OSX
-
Install dependencies from
-
Fetch the source
git clone --recursive https://github.com/open-eid/libdigidocpp cd libdigidocpp
-
Prepare
sh prepare_osx_build_environment.sh all
-
Configure
mkdir build cd build cmake ..
-
Build
make
-
Install
sudo make install
-
Execute
/usr/local/bin/digidoc-tool
Windows
-
Install dependencies and necessary tools from
- Visual Studio Express 2013 for Windows Desktop
- [Perl] (https://www.perl.org/get.html)
- [7-zip] (http://www.7-zip.org)
- http://www.cmake.org
- Xerces-c
- Xerces-c MSVC2012 Project files
- XML-Security-C
- OpenSSL Win32 binaries or OpenSSL source
- ZLib source
- swigwin-3.0.5.zip - Optional, for C# bindings
-
Fetch the source
git clone --recursive https://github.com/open-eid/libdigidocpp cd libdigidocpp
-
Prepare
powershell -ExecutionPolicy ByPass -File prepare_win_build_environment.ps1
-
Configure
mkdir build cd build cmake ..
Optional CMake parameters:
-DSWIG_EXECUTABLE=C:/swigwin-3.0.5/swig.exe
After running the cmake build, digidoc_csharp.dll along with the C# source files will be created, more info at README.md.
-
Build
make
-
Execute
src/digidoc-tool.exe
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.