If you want to enable the XML encryption feature and your web
container is running JDK 1.4, or you are running IBM Websphere (JDK
1.4 and 1.5) as your web container, follow this procedure to use Bouncy
Castle to generate a transport key.

Note –

The Bouncy Castle Crypto API is a Java implementation
of cryptographic algorithms.