Skip to content

Download

Aleksey Sanin edited this page Jun 22, 2026 · 4 revisions

XML Security Library: Download

Source code on GitHub

XML Security Library source code is available on GitHub.

Stable releases

The latest stable XML Security Library version is 1.3.12:

The previous releases are also available.

The releases signature key fingerprint is: 00FD D6A7 DFB8 1C88 F34B 9BF0 E63E CDEF 9E1D 829E (how to verify release tarball signature).

Requirements

The XML Security Library requires LibXML2 2.9.13 or newer, and optionally LibXSLT 1.1.35 or newer. Plus one of the following cryptographic libraries:

XML Security Library Cryptographic library Notes
xmlsec-openssl with OpenSSL OpenSSL version 3.0.13 or newer. OpenSSL 3.5.0 or newer is recommended (supports all REQUIRED and all RECOMMENDED XML Digital Signature 1.1 and XML Encryption 1.1 algorithms).
xmlsec-openssl with OpenSSL forks AWS-LC v1.66.0 or newer; LibreSSL version 3.9.0 or newer; BoringSSL version 1.1.0 or newer. Some of the OpenSSL forks do not have stable API (e.g. BoringSSL) and the latest versions of the libraries might not work with XML Security Library.
xmlsec-nss NSS (Mozilla cryptographic library) 3.91 or newer Requires NSPR 4.34.1 or newer
xmlsec-gnutls GnuTLS 3.8.3 or newer Supports multiple cryptographic backends, the exact features set for xmlsec-gnutls depends on the backend in use.
xmlsec-mscng Microsoft Cryptography API: Next Generation (requires Windows 7, Windows Server 2008 R2, or newer) xmlsec-mscng is the recommended version on Windows platform.
xmlsec-mscrypto Microsoft CryptoAPI (MSCrypto) (requires Windows Server 2003, or newer) In maintenance mode starting from xmlsec 1.3.0, April 2023.
xmlsec-gcrypt LibGCrypt 1.4.0 or newer In maintenance mode starting from xmlsec 1.3.0, April 2023.

The supported key formats report, XML Digital Signature Interoperability report, and XML Encryption Interoperability report provide detailed information about the features supported by each library.

Build and install

The XML Security Library is using the standard Unix/Linux build steps with configure / make. For more details and other operatings systems support see tutorial.

Other languages

Clone this wiki locally