Obtain the Apache Santuario™ distribution
The Apache Santuario™ project is aimed at providing implementation of the primary security standards for XML. Two libraries are currently available.
- Apache XML Security for Java - This library includes a mature Digital Signature and Encryption implementation. It also includes the standard JSR 105 (Java XML Digital Signature) API. Applications can use the standard JSR 105 API or the Apache Santuario API to create and validate XML Signatures.
- Apache XML Security for C++ - This library includes a mature Digital Signature and Encryption implementation using a proprietary C++ API on top of the Xerces-C XML Parser's DOM API. It includes a pluggable cryptographic layer, but support for alternatives to OpenSSL are less complete and less mature.
How to download
Use the links below to download a distribution of Apache Santuario from one of our mirrors. It is good practice to verify the integrity of the distribution files. Apache Santuario releases are available under the Apache License, Version 2.0 - see the LICENSE.txt and NOTICE.txt files contained in each release artifact.
Current official release (closest mirror site selected automatically)
- The current stable Java release is Apache XML Security for Java 2.1.0: xmlsec-2.1.0-source-release.zip (PGP) (MD5) (SHA1)
- The older stable Java release is Apache XML Security for Java 2.0.9: xmlsec-2.0.9-source-release.zip (PGP) (MD5) (SHA1)
- The current C++ release is Apache XML Security for C++ 1.7.3:
Archive of old releases
Older releases are available in the archive.
It is essential that you verify the integrity of the downloaded files using the MD5/SHA and PGP signatures. Digest verification ensures the file was not corrupted or tampered with. PGP verification ensures that the file is authentic. In practice, PGP verification is much more important and makes checksum verification redundant.
The PGP signatures can be verified using PGP or GPG. First download the Apache Santuario KEYS as well as the *.asc signature file for the particular distribution. It is important that you get these files from the ultimate trusted source - the main ASF distribution site, rather than from a mirror. Then verify the signatures using:
To verify the MD5 or SHA checksum on the files, you need to use a program called md5 or md5sum (or sha1, etc.), which is included in many unix distributions. It is also available as part of GNU Textutils. Windows users can get binary md5 programs from here, here, or here or an openssl client from here.
We strongly recommend you verify your downloads with both PGP and a checksum.