To enable XML encryption, perform the following steps:
(Optional) If you are using a JDK version earlier than JDK version 1.5:,
download the Bouncy Castle JCE provider from the Bouncy Castle site (http://www.bouncycastle.org/).
For example, for JDK version 1.4, download the bcprov-jdk14-131.jar file.
Copy the file to the jdk_root\jre\lib\ext directory.
Download the JCE Unlimited Strength Jurisdiction Policy Files. for your version of the JDK.
For Sun Systems, download the files from the Sun site (http://java.sun.com) for your version of the JDK.
For IBM WebSphere, go to the corresponding IBM site to download the required files.
Copy the downloaded US_export_policy.jar and local_policy.jar files to the jdk_root\jre\lib\security directory.
If you are using a JDK version earlier than JDK 1.5, edit the jdk_root\jre\lib\security\java.security file and add Bouncy Castle as one of the providers. For example:
security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
Set the following property in the AMConfig.properties file to true:
com.sun.identity.jss.donotInstallAtHighestPriority=true
Restart the Access Manager web container.
For more information, refer to problem ID 5110285 (XML encryption requires Bouncy Castle JAR file).