jclouds/jclouds — pull request #428 by nacx (2014-07-01 13:41:50+00:00)
Title: Use the configured JCE provider in the Cipher payloads

The CipherPayload implementations were manually instantiating the Cipher to use. Instead of that, now the constructors requires a Crypto instance that can be obtained from the injector, which is already configured with the right JCE provider, for example the one wired up by the Bouncyclastle driver.

This will allow users using the CipherPayloads to use a custom JCE provider configured when creating the context (via specific drivers).