It seems you have not install the unlimited policy files needed. Re-install 
will not resolve it; I am not sure, but I think that the unlimited policies can 
be downloaded from Sun.

>From the README.TXT

----------------------------------------------------------------------
Understanding The Export/Import Issues
----------------------------------------------------------------------

JCE for JDK 5.0 has been through the U.S. export review process.
The JCE framework, along with the SunJCE provider that comes 
standard with it, is exportable.

The JCE architecture allows flexible cryptographic strength
to be configured via jurisdiction policy files. Due to the
import restrictions of some countries, the jurisdiction policy 
files distributed with the JDK 5.0 software have built-in 
restrictions on available cryptographic strength. The jurisdiction 
policy files in this download bundle (the bundle including this 
README file) contain no restrictions on cryptographic strengths. 
This is appropriate for most countries. Framework vendors can 
create download bundles that include jurisdiction policy files 
that specify cryptographic restrictions appropriate for countries 
whose governments mandate restrictions. Users in those countries 
can download an appropriate bundle, and the JCE framework will 
enforce the specified restrictions.

 

 
Ernesto Arroyo Ron   |   Jefe de Proyectos, CISSP, CISA, CISM
Phone: +34 91 521 00 80 |  Fax: +34 91 522 82 20  
José Echegaray, 6 - Edificio B planta 1º | Parque Empresarial Las Rozas
28230 Las Rozas  |  Madrid  |  Spain
 
www.nexus-it.es  |  ernesto.arroyo...@lbigroup.es
Do you really need to print this email? Think about the environmental 
consequences before printing. ü
 
 
 

-----Mensaje original-----
De: Deepachandaran Palanisamy [mailto:depal...@cisco.com] 
Enviado el: miércoles, 20 de mayo de 2009 13:23
Para: security-dev@xml.apache.org
CC: werner.dittm...@t-online.de
Asunto: RE: Unable to decrypt using JRE6


 
Re-installed the crypto policy files & still I am facing this issue.


-----Original Message-----
From: Werner Dittmann [mailto:werner.dittm...@t-online.de] 
Sent: Wednesday, May 20, 2009 4:39 PM
To: security-dev@xml.apache.org
Subject: Re: Unable to decrypt using JRE6

Seems that it is a problem with the JCE policy files that block strong
cryptography?

After every update of Java runtime you need to re-install the crypto policy
files again.

Regards,
Werner

Deepachandaran Palanisamy schrieb:
> Hi,
>   
>  I am doing XML encryption/decryption using xmlsec-1.2.97.jar.
>   
>  I used to encrypt in client side using  JRE1.4(Java Runtime
>  Environment) VM & decrypt in JRE1.4 on another VM on server side.
>   
>  Everything was going fine if client & server both uses JRE1.4.
>   
>  Now the server side VM is upgraded to JRE1.6 where decryption  
> happens.Now decryption is getting failed & throws below error
>   
>  java.security.InvalidKeyException: Wrong algorithm: AES or Rijndael 
> required
>   at org.apache.xml.security.encryption.XMLCipher.
>  decryptToByteArray(Unknown Source)
>   at org.apache.xml.security.encryption.XMLCipher.
>  decryptElement(Unknown Source)
>   at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown 
> Source)
>   
>  Please advice.
>  
>  -Deepak
> 


Se certificó que el correo entrante no contiene virus.
Comprobada por AVG - www.avg.es 
Versión: 8.5.339 / Base de datos de virus: 270.12.35/2123 - Fecha de la 
versión: 05/19/09 17:59:00

Reply via email to