Please review the following fix that adds support to the keytool utility for
storing arbitrary user passwords
in a keystore. For keystores such as PKCS#12 that support a variety of key
protection algorithms,
the PBE algorithm may also be specified by overloading the existing -keyalg
flag. For example,
% keytool -importpassword -storetype PKCS12 -keyalg
PBEWithHmacSHA1AndAES_128 ...
Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8008296
Webrev: http://cr.openjdk.java.net/~vinnie/8008296/webrev.00/
Thanks.