Which cryptographic provider are you using? I do not think that the SunJCE provides this padding scheme. Use Bouncy Castle instead.
Ax/ -----Original Message----- From: Dominik Schadow [mailto:[EMAIL PROTECTED] Sent: 10 June 2004 01:11 PM To: [EMAIL PROTECTED] Subject: XMLEncryptionException: Padding: ISO10126PADDING not implemented Hello, I always get a n org.apache.xml.security.encryption.XMLEncryptionException: Padding: ISO10126PADDING not implemented exception when I try to create a XMLCipher xmlCipher = XMLCipher.getInstance(XMLCipher.AES_128); It doesn't matter which algorithm I use here. Always the same exception. The keyCipher (like in the example) works fine. The xmlCipher crashes. In my own program and when I'm running the sample with the Ant script. I'm using JDK 1.4.2_04 and bc-jce-jdk13-114.jar. Any ideas or suggestions? Thanks for your help. Dominik -- +++ Jetzt WLAN-Router f|r alle DSL-Einsteiger und Wechsler +++ GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl
