+

Search Tips | Advanced Search

Support for non-IBM JREs

From Version 9.0, AMS is supported in non-IBM® JREs in Java clients.

Advanced Message Security implements Cryptographic Message Syntax (CMS). The CMS syntax is used to digitally sign, digest, authenticate, or encrypt arbitrary message content.

In previous releases of the product, Advanced Message Security support in the IBM MQ classes for Java and IBM MQ classes for JMS has been dependent on CMS support specifically provided by the IBM implementation of the Java Cryptography Extensions (JCE). Because of this restriction, the functionality was only available when using a Java runtime environment (JRE) which included the Java JCE provider.

Importantly, support on platforms such as Solaris required a hybrid JRE. That is, the standard JRE for the platform with additional IBM-provided elements; in particular, the IBM JCE provider was required rather than that provided by the standard JRE for the platform.

From Version 9.0, the AMS support in IBM MQ classes for Java and IBM MQ classes for JMS has been modified, and now uses the open-source Bouncy Castle packages to support CMS. This means that these classes can now support AMS operation when running with non-IBM JREs.

The necessary Bouncy Castle jar files are included as part of the IBM MQ classes for Java and IBM MQ classes for JMS installation package.

For Version 9.0.x Continuous Delivery, and for Long Term Support for Version 9.0.0, Fix Pack 5 and earlier, the Bouncy Castle jar files used are the following files:

The version of the Bouncy Castle jar files varies by IBM MQ release.

For Long Term Support for Version 9.0.0, Fix Pack 6 and later, the Bouncy Castle jar files used are the following files:

The modified classes have been tested with IBM JREs and Oracle JREs. They are also likely to run successfully under any J2SE-compliant JRE. However, you should note the following dependencies: