{"id":13731536,"url":"https://github.com/open-eid/libdigidocpp","last_synced_at":"2025-05-08T04:34:32.463Z","repository":{"id":22572255,"uuid":"25913720","full_name":"open-eid/libdigidocpp","owner":"open-eid","description":"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","archived":false,"fork":false,"pushed_at":"2024-11-08T08:18:48.000Z","size":29750,"stargazers_count":97,"open_issues_count":15,"forks_count":47,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-11-08T08:36:33.932Z","etag":null,"topics":["asice","c-plus-plus","linux","osx","signature","signing","ubuntu","windows","xades","xmldsig"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-eid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-29T09:33:09.000Z","updated_at":"2024-11-08T08:18:16.000Z","dependencies_parsed_at":"2023-11-20T10:33:26.446Z","dependency_job_id":"e4df1b09-2079-44b9-acfd-fa0b2d8d1850","html_url":"https://github.com/open-eid/libdigidocpp","commit_stats":null,"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-eid%2Flibdigidocpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-eid%2Flibdigidocpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-eid%2Flibdigidocpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-eid%2Flibdigidocpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-eid","download_url":"https://codeload.github.com/open-eid/libdigidocpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224702638,"owners_count":17355588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asice","c-plus-plus","linux","osx","signature","signing","ubuntu","windows","xades","xmldsig"],"created_at":"2024-08-03T02:01:32.194Z","updated_at":"2025-05-08T04:34:32.446Z","avatar_url":"https://github.com/open-eid.png","language":"C++","funding_links":[],"categories":["C++","Interoperability and Digital Infrastructure"],"sub_categories":[],"readme":"# libdigidocpp\n\n![European Regional Development Fund](https://github.com/open-eid/DigiDoc4-Client/blob/master/client/images/EL_Regionaalarengu_Fond.png \"European Regional Development Fund - DO NOT REMOVE THIS IMAGE BEFORE 05.03.2020\")\n\n * License: LGPL 2.1\n * \u0026copy; Estonian Information System Authority\n * [Architecture of ID-software](http://open-eid.github.io)\n * [API Documentation](http://open-eid.github.io/libdigidocpp)\n\n## Building\n[![Build Status](https://github.com/open-eid/libdigidocpp/workflows/CI/badge.svg?branch=master)](https://github.com/open-eid/libdigidocpp/actions)\n[![Coverity Scan Build Status](https://scan.coverity.com/projects/727/badge.svg)](https://scan.coverity.com/projects/727)\n\n### Ubuntu, Fedora\n\n1. Install dependencies\n\n        # Ubuntu\n        sudo apt install cmake libxml2-dev libxmlsec1-dev zlib1g-dev\n        # Fedora\n        sudo dnf install cmake gcc-c++ libtool-ltdl-devel libxml2-devel minizip-ng-compat-devel openssl-devel zlib-devel xmlsec1-openssl-devel\n\n\t* doxygen - Optional, for API documentation\n\t* libboost-test-dev - Optional, for unittests\n\t* swig - Optional, for C#, Java and python bindings\n\t* libpython3-dev, python3-setuptools - Optional, for python bindings\n\t* openjdk-17-jdk-headless - Optional, for Java bindings\n\n2. Fetch the source\n\n        git clone https://github.com/open-eid/libdigidocpp\n        cd libdigidocpp\n\n3. Configure\n\n        cmake -B build -S .\n\n4. Build\n\n        cmake --build build\n\n5. Install\n\n        sudo cmake --build build --target install\n\n6. Execute\n\n        /usr/local/bin/digidoc-tool\n\n### macOS\n\n1. Install dependencies from\n\t* [XCode](https://itunes.apple.com/en/app/xcode/id497799835?mt=12) - For macOS/iOS development\n\t* [CMake](http://www.cmake.org)\n\t* [Homebrew](https://brew.sh)\n\t* [vcpkg](https://vcpkg.io/) - For Android development (VCPKG_ROOT)\n\t* [Android NDK](https://developer.android.com/ndk/downloads) - For Android development (ANDROID_NDK_ROOT)\n\n2. Fetch the source\n\n        git clone https://github.com/open-eid/libdigidocpp\n        cd libdigidocpp\n\n3. Prepare dependencies (available targets: macos, iphoneos, iphonesimulator)\n\n        sh prepare_osx_build_environment.sh macos all\n\n4. Install dependencies\n\n        brew install pkg-config ninja\n\n\t* doxygen - Optional, for API documentation\n\t* boost - Optional, for unittests\n\t* swig - Optional, for C# and Java bindings\n\t* openjdk - Optional, for Java bindings\n\n5. Configure, build and install (available presets: macos, iphoneos, iphonessimulator, androidarm, androidarm64, androidx86_64)\n\n        cmake --preset macos\n        cmake --build --preset macos\n        sudo cmake --build --preset macos --target install\n\n6. Execute\n\n        /Library/Frameworks/digidocpp.framework/Resources/digidoc-tool\n\n### Windows\n\n1. Install dependencies and necessary tools from\n\t* [Visual Studio Community 2019/2022](https://www.visualstudio.com/downloads/)\n\t* [CMake](http://www.cmake.org)\n\t* [vcpkg](https://vcpkg.io/)\n\t* [Swig](http://swig.org/download.html) - Optional, for C#, Python and Java bindings\n\t* [Doxygen](https://www.doxygen.nl/download.html) - Optional, for generating documentation\n\t* [Wix toolset](http://wixtoolset.org/releases/) - Optional, for creating Windows installation packages\n\t* [Python](https://www.python.org/downloads/) - Optional, for Python bindings\n\t* [Java](https://www.oracle.com/java/technologies/downloads/) - Optional, for Java bindings\n\n2. Open desired Visual Studio tools command prompt:\n\t* x64 Native Tool Command Prompt\n\t* x86 Native Tool Command Prompt\n\t* ARM64 Native Tool Command Prompt\n\t* Or some cross compile combination with target host type\n\n3. Fetch the source\n\n        git clone https://github.com/open-eid/libdigidocpp\n        cd libdigidocpp\n\n4. Configure\n\n        cmake -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake `\n              -DVCPKG_TARGET_TRIPLET=x64-windows `\n              -DVCPKG_MANIFEST_FEATURES=tests `\n              -B build -S .\n\n    Optional CMake parameters:\n\n        -DSWIG_EXECUTABLE=C:/swigwin-4.2.1/swig.exe\n        -DDOXYGEN_EXECUTABLE=C:/Program files/doxygen/bin/doxygen.exe\n\n    After running the cmake build, digidoc_csharp.dll along with the C# source files will be created, more info at\n    [examples/DigiDocCSharp/README.md](examples/DigiDocCSharp/README.md).\n\n5. Build\n\n        cmake --build build\n\n6. Alternative to steps 4. and 5. -\n\n        powershell -ExecutionPolicy ByPass -File build.ps1\n\n    Optional build.ps1 parameters:\n\n        -swig C:/swigwin-4.2.1/swig.exe\n        -doxygen \"C:/Program files/doxygen/bin/doxygen.exe\"\n        -boost\n\n    The build script builds executables and installation media for given\n    platform (Debug and Release with debug symbols)\n\n7. Execute\n\n        build/src/digidoc-tool.exe\n\n### Examples\n[examples/README.md](examples/README.md)\n\n## Support\nOfficial builds are provided through official distribution point [id.ee](https://www.id.ee/en/article/install-id-software/). If you want support, you need to be using official builds. Contact our support via [www.id.ee](http://www.id.ee) for assistance.\n\nSource code is provided on \"as is\" terms with no warranty (see license for more information). Do not file Github issues with generic support requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-eid%2Flibdigidocpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-eid%2Flibdigidocpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-eid%2Flibdigidocpp/lists"}