Hi All, I am trying to upgrade the existing sample application that I have been creating since past few weeks to work with AES 256 bit algorithm instead of AES 128.
Following this link on creating aes 256 keys http://www.ensor.cc/#setup I have create a key using keytool as: keytool -genseckey -keystore aes-keystore.jck -storetype jceks -storepass mystorepass -keyalg AES -keysize 256 -alias jceksaes -keypass mykeypass do someone know if the keystore that is available here https://github.com/coheigea/testcases/blob/master/apache/santuario/santuario-xml-encryption/src/test/resources/servicestore.jks was created using the same command (shown above). I am asking this because when I do following in my code keystore returns null: I would really appreciate the guidance here, please let me know if you can point to some guide? So, in summary I have three questions: 1. does anyone know if servicestore.jks was created using the same command I have used? 2. why is defaultCert returing null for me? I think I have created my certificate incorrectly. I tried to debug this but the method source code "engineGetCertificate" in java.security.KeyStore.keyStoreSpi is not available. 3. I have been googling all day to find out if there is any link available that can help me create a aes 256 bit key but i failed Your help really appreciated, Thanks. Regards, Mujahed -- View this message in context: http://apache-xml-project.6118.n7.nabble.com/AES-256-bit-encryption-tp41373.html Sent from the Apache XML - Security - Dev mailing list archive at Nabble.com.
