private void doImportKeyStore() throws Exception {
  if (alias != null) {
    doImportKeyStoreSingle(loadSourceKeyStore(),alias);
  }
 else {
    if (dest != null || srckeyPass != null) {
      throw new Exception(rb.getString("if.alias.not.specified.destalias.and.srckeypass.must.not.be.specified"));
    }
    doImportKeyStoreAll(loadSourceKeyStore());
  }
}

private void doImportKeyStore ( ) throws Exception { if ( alias != null ) { doImportKeyStoreSingle ( loadSourceKeyStore ( ) , alias ) ; } else { if ( dest != null || srckeyPass != null ) { throw new Exception ( rb . getString ( "if.alias.not.specified.destalias.and.srckeypass.must.not.be.specified" ) ) ; } doImportKeyStoreAll ( loadSourceKeyStore ( ) ) ; } }
import all keys and certs from importkeystore . keep alias unchanged if no name conflict , otherwise , prompt . keep keypass unchanged for keys
