- License: LGPL 2.1
- © Estonian Information System Authority
- Architecture of ID-software
-
Install dependencies
sudo apt install cmake libxml-security-c-dev xsdcxx libssl-dev zlib1g-dev
- doxygen - Optional, for API documentation
- libboost-test-dev - Optional, for unittests
-
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
-
Install dependencies from
-
Fetch the source
git clone --recursive https://github.com/open-eid/libdigidocpp cd libdigidocpp
-
Prepare dependencies (available targets: osx, ios, iossimulator, androidarm, androidarm64, androidx86)
sh prepare_osx_build_environment.sh osx all
-
Configure, build and install (available targets: osx, ios, iossimulator, androidarm, androidarm64, androidx86)
./build-library.sh osx install
-
Execute
/Library/libdigidocpp/bin/digidoc-tool
-
Install dependencies and necessary tools from
- Visual Studio Community 2015/2017/2019
- CMake
- Swig - Optional, for C# and Java bindings
- Wix toolset - Optional, for creating Windows installation packages
Toolset:
- 140 - Visual Studio 2015
- 141 - Visual Studio 2017 (Default)
- 142 - Visual Studio 2019
-
Fetch the source
git clone --recursive https://github.com/open-eid/libdigidocpp cd libdigidocpp
-
Prepare
powershell -ExecutionPolicy ByPass -File prepare_win_build_environment.ps1 -toolset 141
-
Configure
mkdir build cd build cmake ..
Optional CMake parameters:
-DSWIG_EXECUTABLE=C:/swigwin-4.0.1/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.
-
Build
nmake
-
Alternative to steps 4. and 5. -
powershell -ExecutionPolicy ByPass -File build.ps1 -toolset 141
The build script builds executables and installation media for all platforms (x86 and x64 / Debug and Release with debug symbols)
-
Execute
src/digidoc-tool.exe
Official builds are provided through official distribution point id.ee. If you want support, you need to be using official builds. Contact our support via www.id.ee for assistance.
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.