If you’ve recently downloaded my JWSDP 1.5 interoperability sample and tried to run the Java portion on J2SE 5.0 you may have experienced some “unable to decrypt message” errors. To fix this, adjust your java.security file to read as follows:
It looks like there could be a potential conflict between Sun’s RSA signing mechanism and the Bouncy Castle provider I used in the sample. Adjusting the provider order as shown above fixes this.
Thanks to Rags from Sun for getting to the bottom of this one.