algorithm URI was invalid: http://www.w3.org/2001/04/xmlenc#aes128-cbc

Brent Putman putmanb at georgetown.edu
Thu Sep 26 15:24:53 EDT 2013


On 9/26/13 1:55 PM, Brent Putman wrote:
>
>
> In the log just above what you supplied, do you see another line on
> level ERROR like:  "Mapping from algorithm URI ..... to key algorithm
> not available, key generation failed" ?

Just looking a little more closely... If you do *not* see that log
message preceding the ones you've already sent, then it's not Santuario,
it's literally that the Java crypto provider call to get a KeyGenerator
instance is failing with a NoSuchAlgorithmException, e.g.:

KeyGenerator.getInstance("AES");

Since AES is pretty much supported by any standard JDK/JRE, I don't have
any idea off hand how that could happen.  If that is the case, there
might be some JDK-level logging you could turn up.  But let's see what
you uncover first.



More information about the users mailing list