Encryption Error
Cantor, Scott
cantor.2 at osu.edu
Wed Jul 6 17:40:19 EDT 2016
> Just a stab in the dark but: If your BC version is <= 1.50 and if it's trying to do
> XML encryption with AES in GCM mode, then you can try setting this system
> property: org.apache.xml.security.cipher.gcm.useIvParameterSpec=true
>
> That's because BC <= 1.50 doesn't support the new
> javax.crypto.spec.GCMParameterSpec that exists in Java 7+ (which is
> otherwise found reflectively), and instead requires use of the older
> javax.crypto.spec.IvParameterSpec.IvParameterSpec.
I don't think we're using GCM by default for XML Encryption though, are we? In fact, GCM didn't even work properly with Java 7's JCE, that I recall.
-- Scott
More information about the users
mailing list