Latest Java Releases
Release 1.46 is now available for download.
This is the prelude to a major release. As such there have been a few changes that are not directly backwards compatible with previous ones. In the way of new features, this release adds client side SSL support to the TLS API, support for CMP (RFC 4210), CRMF (RFC 4211) and CMS TimeStampedData (RFC 5544). In addition the CMS/TSP APIs have been rewritten to make it possible to use APIs other than the JCE to provide support for cryptographic operations. A new API in org.bouncycastle.cert.ocsp has been added to OCSP requests to be handled in a similar fashion. A new API has been added for providing generalised support for PEM data, and AES-CMAC and DES-edeCMAC have been added to the JCE provider and a X500Name class with pluggable "styles" has been added to provide better customisation. By way of bug fixes, further work has been done on trying to eliminate escaping exceptions and possible out of memory issues in the ASN.1 library, and BC generated X.509 certificates should now generate the same hashCodes as other implementations.
Some things to note:
- The fixes to the ASN.1 library have also resulted in removing deprecated classes in the case where it was evident that they were badly broken. This has resulted in some minor API changes, so this release should at least be compiled against your application before trying to use it.
- The new API for certificate generation, OCSP, CRMF, and CMP is in the bcmail distribution.
- A lot of methods in CMS and TSP have now been deprecated. These will be removed in the next version of the BC API (which will become version 2.0). If you avoid using them it should be relatively painless to move to version 2.0.
- The new methods for providing cryptographic operators for the certificate, CMS, CMP, CRMF, OCSP, and TSP APIs are interfaced based. This allows the lightweight API to be used to provide the necessary functions, likewise using a HSM or embedded API can now be achieved by implementing the interfaces accordingly. A brief document on how this is supposed to hang together is available on the BC wiki.
As always, others have contributed to this release. You can find them listed in the contributors file. Thank you, one and all!
If you're interested in grabbing the lot in one hit (includes JCE, JCE provider, light weight API, J2ME, JDK1.2, JDK1.1, and JDK1.0 compatibility classes, signed jars, fries, and king prawns...) download crypto-146.tar.gz or crypto-146.zip, otherwise if you are only interested in one version in particular, see below.
Signed JAR files
From release 1.40 the implementation of the IDEA encryption algorithm was removed from the regular jar files at the request of a number of users. Jars with names of the form *-ext-* still include the IDEA implementation.
Sources and JavaDoc
| SMIME/CMS | ||
|---|---|---|
| JDK 1.6 | bcmail-jdk16-146.tar.gz | bcmail-jdk16-146.zip |
| JDK 1.5 | bcmail-jdk15-146.tar.gz | bcmail-jdk15-146.zip |
| JDK 1.4 | bcmail-jdk14-146.tar.gz | bcmail-jdk14-146.zip |
| JDK 1.3 | bcmail-jdk13-146.tar.gz | bcmail-jdk13-146.zip |
| TSP | ||
|---|---|---|
| JDK 1.6 | bctsp-jdk16-146.tar.gz | bctsp-jdk16-146.zip |
| JDK 1.5 | bctsp-jdk15-146.tar.gz | bctsp-jdk15-146.zip |
| JDK 1.4 | bctsp-jdk14-146.tar.gz | bctsp-jdk14-146.zip |
| JDK 1.3 | bctsp-jdk13-146.tar.gz | bctsp-jdk13-146.zip |
| OpenPGP/BCPG | ||
|---|---|---|
| JDK 1.6 | bcpg-jdk16-146.tar.gz | bcpg-jdk16-146.zip |
| JDK 1.5 | bcpg-jdk15-146.tar.gz | bcpg-jdk15-146.zip |
| JDK 1.4 | bcpg-jdk14-146.tar.gz | bcpg-jdk14-146.zip |
| JDK 1.3 | bcpg-jdk13-146.tar.gz | bcpg-jdk13-146.zip |
| JDK 1.2 | bcpg-jdk12-146.tar.gz | bcpg-jdk12-146.zip |
| JDK 1.1 | bcpg-jdk11-146.tar.gz | bcpg-jdk11-146.zip |
| Releases no longer maintained | ||
|---|---|---|
| JDK 1.0 | lcrypto-jdk10-133.tar.gz | lcrypto-jdk10-133.zip |
NOTE:
You can find the release notes, documentation, and specifications here.
You can find checksums for confirming the integrity of the distributions here
Mirrors
Too slow? You can also find the latest versions on one of our mirrors:
Beta Access
The current working betas, when available, for the next release for JDK 1.3 to JDK 1.6 can be found at http://www.bouncycastle.org/betas. If you need a beta to be made available for another version of Java please ask by emailing feedback-crypto@bouncycastle.org.
Maven Access
The BC jars are now mirrored on the Maven central repository. You can find them at http://repo2.maven.org/maven2/org/bouncycastle.
CVS Access
Just want to look at the source? The source code repository is accessible via ViewVC from here.
If you are looking for anonymous CVS access, set your CVSROOT as follows:
CVSROOT=:pserver:anonymous@cvs.bouncycastle.org:/home/users/bouncy/cvsroot
and then do a
cvs co java
using your favorite CVS client.
FTP Access
Previous releases, as well as the latest ones, can be downloaded from our ftp server ftp.bouncycastle.org. Please note the FTP server does not support passive mode.