changeStatus(INIT_STATUS);
}
public void begin() {
try {
caCerts = new KeyStore(FileBaseUtil.getCAKeyStorePath(), null);
caCertsSystem = new KeyStore(FileBaseUtil.getCASystemKeyStorePath(), null);
if (!caCerts.exists() && !caCertsSystem.exists()) {
throw new SignOnException(
"System err: check your " + FileBaseUtil.getCAKeyStorePath() + " and/or " + FileBaseUtil.getCASystemKeyStorePath());
}
openCAKeyStore();
userCerts = new KeyStore(FileBaseUtil.getUserKeyStorePath(), null);
if (userCerts.exists()) {
showKeyStorePasswdDialog();
} else {
changeStatus(ACTIVE_STATUS);
mgr.next();