Hi Marc,

Excellent advise, thank you very much! much appreciated!

I was able to create a keystore using -genkeypair option and successfully
execute it. The algorithm I used while creation was RSA because I found that
AES wasn't supported by keytool 
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/jdk8-b132/src/share/classes/sun/security/tools/keytool/Main.java#l1556
only DSA, RSA and EC were supported.

Anyways, I went ahead and created and changed required alias and passwords
in the property file to see it will work and I was surprised to see it
working that because in my encryption with stax method i had used
http://www.w3.org/2001/04/xmlenc#aes256-cbc 

So, just for my learning purpose would you be kind to let me know how is
that possible that a keystore created with algorithm RSA was able to
encrypt/decrypt using AES 256 algorithm. 

I thought I will read it online but the guide is so big and as always i am
in some tight deadlines I came across some book will try to read it over the
weekend...

once again, thank you very much.
Regards,
Mujahed



--
View this message in context: 
http://apache-xml-project.6118.n7.nabble.com/AES-256-bit-encryption-tp41373p41379.html
Sent from the Apache XML - Security - Dev mailing list archive at Nabble.com.

Reply via email to