WebServiceSecurity applications cannot run with J2SE 5.0 because:
J2SE 5.0 PKCS11 does not support UNWRAP mode
J2SE 5.0 PKCS11 does not support RSA/ECB/OAEPWithSHA1AndMGF1Padding with PKCS11
The J2SE team has filed “CR 6190389: Add support for the RSA-PKCS1 and RSA-OAEP wrap/unwrap mechanisms” for this bug.