throw new SignOnException(mh.getMessage("passphrase_null"));
}
jp.go.aist.sot.client.security.KeyStore ks = null;
ks = storage.getTrustStore(new SubjectName(null, null),
passphrase.toCharArray());
KeyStore caks = jp.go.aist.sot.client.security.KeyStore.convert(ks);
if (caks == null || caks.size() == 0) {
throw new SignOnException(mh.getMessage("check_trustca"));
}
KeyStore uks = null;
try {
ks = storage.getKeyStore(new SubjectName(cn, null),
passphrase.toCharArray());
uks = jp.go.aist.sot.client.security.KeyStore.convert(ks);
} catch (jp.go.aist.sot.client.security.KeyStoreException e) {
throw new SignOnException(e, mh.getMessage("invalid_passphrase"));
}