- Home
- Download
- News
- Documentation

- FAQ
- Tutorial
- API reference
- Examples

- XML Digital Signature

- Online Verifier

- XML Encryption
- XML Canonicalization
- Reporting Bugs
- Mailing list
- Related
- Authors

# XML Security Library

XML Security Library is a C library based on LibXML2. The library supports major XML security standards:

- XML Signature
- XML Encryption
- Canonical XML (was included in LibXML2)
- Exclusive Canonical XML (was included in LibXML2)

XML Security Library is released under the MIT Licence see the Copyright file in the distribution for details.

News

- October 14 2003
  The new XML Security Library 1.2.1 release includes a special "hack" for supporting ID attributes with invalid values in Visa 3D; fixed processing of root element node siblings (bug #124245); template functions for creating <enc:KeyReference/> and <enc:DataReference/> nodes (Wouter); new "XMLSEC_DOCDIR" environment variable for ./configure script; updated README files for xmlsec-crypto libraries.
- September 30 2003
  The major change in the new XML Security Library 1.2.0 release is the MS Crypto API support implemented by Wouter. Other changes include loading public keys from certificates and improved namespaces support for start node selection with "--node-xpath" command line option for xmlsec command line utility; updated online XML DSig Verifier; updated docs and man pages.
- September 17 2003
  The new XML Security Library 1.1.2 release introduces dynamical crypto engines loading based on ltdl library (including tutorial, API reference and documentation updates); adds an ability to build multiple xmlsec-crypto libraries in one build on Windows; fixes minor problems in test suite and multiple warnings when building on Sun Solaris.
- August 21 2003
  The new XML Security Library 1.1.1 release adds <X509Data/> node templates support to xmlsec-nss (Tej); includes new functions for reading keys and certificates from memory for xmlsec-core and xmlsec-openssl (Joachim); fixes several problems in xmlsec configuration files (Roumen) and a bug in URI attribute XInclude processing.
- August 5 2003
  A great patch from Tej that dramaticaly improves xmlsec-nss functionality deserves a minor version number update :). In addition to that, the new XML Security Library 1.1.0 release includes <X509Data/> node templates support for xmlsec-openssl (Roumen); separate pkg-config files for xmlsec-crypto libraries and minor documentation updates (including coding style and some useful commands for xmlsec developers in a new "HACKING" file).
- July 15 2003
  There were several minor patches during last month and it's time to do a new XML Security Library 1.0.4 release to pick up them: x509 certificates names comparison function now supports multiple entries woth the same object name (Roumen); multiple build fixes; documentation mistypes fixes. Also I gave an XML Security presentation at OSCON 2003 last week. You can download slides here.
- June 17 2003
  The XML Security Library 1.0.3 release adds PKCS#8 support for xmlsec-openssl (Tej) and fixes several configuration and portability problems.
- June 03 2003
  The XML Security Library 1.0.2 release includes several fixes in xmlsec-nss configuration and linking options (Tej), PKCS21 files reading improvements, minor documentation and help file fixes. Also this release includes some code for XKMS support. This is absolutely not usable right now and not configured in by default. Please, don't use or even compile it in.
- April 28 2003
  The XML Security Library 1.0.1 release is a maintanance release. It fixes several compilation problems found in 1.0.0 release on the following platforms: OpenBSD/sparc64, Win32 Wacom C, Sun Workshop CC 6.0. Also from now on Win32 MSVC port enables the threading support by default (this is a part of the Igor's change to LibXML2/LibXSLT/XMLSec libraries). If you don't use one of these platforms then you'll see no difference.
- April 17 2003
  The XML Security Library 1.0.0 release is the major upgrade from 0.0.X version. The new version includes multiple crypto engines support (with "out of the box" support for OpenSSL, GnuTLS and NSS); simplified and cleaned internal structure and API; several performance and memory usage improvements; new or updated documentation (tutorial, API reference manual and examples).
- April 10 2003
  The final release candidate XML Security Library 1.0.0rc1 is available for download. This release includes minor API polishing, complete API Reference Manual, new chapters in the tutorial and several new examples. Another big change is using major version number in library files to prevent collisions between different library versions.
  If no major problems will be found then the 1.0.0 release should happen in a week from now.
- April 8 2003
  The new XML Security Library 0.0.15 release is a preparation for the upcomming 1.0.0 release and provides an ability to have both versions installed together on the same box. Also this release includes updated expired certificates for the regression test suite and a fix for minor bug in reading binary keys on Windows.
- April 6 2003

  |  | It seems that I'll be giving a presentation at the O'Reilly Open Source Convention 2003 about XML Security and XML Security Library. Stop by to say "Hello!".

- March 26 2003
  XML Security Library 0.1.1 release is the first release candidate for the new stable version of XML Security Library. A lot of internal changes including enchanced processing controls, performance improvements for XML transforms, new documentation, updated examples and many many other small things.
  Please try this release and report bugs. Again, it's the first release candidate and it's very important for me to get your feedback about it. Also if you are missing some features in the library it's the best time to ask!
- March 19 2003
  XML Security Library 0.0.14 release includes several minor bugfixes in references URI processing, binary transforms processing and xmlsec command line utility.
- March 5 2003
  The XML Security Library 0.1.0 release creates a framework for integrating XML Security Library with almost any crypto engine and even combining multiple crypto engines in one application. As an example, basic support for GnuTLS and NSS libraries is provided (digests, hmac and block ciphers).
  This is a pre-alpha release not recommended for production (please use the stable 0.0.X releases instead). The new 0.1.X API and ABI will defenetly change. However, if you plan to use XML Security Library with a new crypto engine and plan to write some code then you can start now. The "backend" API is pretty stable and I do not expect major changes.
- February 21 2003
  XML Security Library 0.0.13 release fixes incorrect processing of signatures with more than 3 binary transforms in a row, improved pkcs12 files support and minor documentation update.
- January 26 2003
  Two major fixes in HMAC and DES/AES algorithms are the reason for the new XML Security Library 0.0.12 release. Also there are few other minor features and bug fixes (see Changelog in the distribution for more details).
- December 3 2002
  New XML Security Library 0.0.11 release fixes a major problem in Reference URI attribute processing. This release also includes several Win32 build process fixes from Igor.
- October 20 2002
  Almost two months from previous release and a lot of minor enchancements are good reasons for the new XML Security Library 0.0.10 release:
  - added a way to specify "current time" to verify certificates expiration against it;
  - implemented XML results output format for the xmlsec command line utility;
  - fixed XMLDSig examples and added a new one (thanks to Devin Heitmueller);
  - resolved static link issue and a bunch of other improvements for Win32 platform builds (Igor Zlatkovic);
  - added dynamic linking option for xmlsec command line utility to help Debian port (John Belmonte);
  - minor bug fixes.

Aleksey Sanin