I am trying to run an application developed using OSDT XML Security version 10g on WL 184.108.40.206 and I'm getting the following error.
It seems that the XML Encryption API was changed between 10g and 11g. I went to the Oracle documentation for 11g xml security,
http://docs.oracle.com/cd/E15523_01/security.1111/e10037/xmlsecurity.htm, but the link to examples is broken.
Does anybody know where the 11g examples are located? BTW, here's the offending line of code.
SymmetricKey key = SymmetricKeyGenerator.getInstance(em.getKeyAlgID()).generateKey();
Luckily, WL has a way to force the use of older jars in the WAR file.