AES is used for private (secret) key infrastructures and signing. Cipher suites that use AES_256 might require installation of the JCE Unlimited Strength Jurisdiction Policy Files from Oracle
Optional -dname may be used for idenitfying the key
Here is how to create an AES 128 bit key with a JCEKS keystore.
Copy keytool -genseckey -keyalg AES -alias aes128 -keysize 128 -keypass AESKey123 -keystore this.keystore -storetype jceks -storepass changeit
Copy keytool -list -v -keystore this.keystore -storetype jceks -storepass changeit
Here is how to create an AES 192 bit key with a JCEKS keystore.
Here is how to create an AES 256 bit key with a JCEKS keystore.
Copy keytool -genseckey -keyalg AES -alias aes256 -keysize 256 -keypass AESKey123 -sigalg SHA512withRSA -keystore that.keystore -storetype jceks -storepass changeit
Copy keytool -list -v -keystore that.keystore -storetype jceks -storepass changeit