try{
SESecurityManager.createSelfSignedCertificate( alias, dn, strength );
close(true );
Logger.log(new LogAlert(LogAlert.UNREPEATABLE,
LogAlert.AT_INFORMATION, MessageText
.getString("security.certcreate.createok")
+ "\n" + alias + ":" + strength + "\n"
+ dn + "\n" + SystemTime.getCurrentTime()));
}catch( Throwable f ){
Logger.log(new LogAlert(LogAlert.UNREPEATABLE, MessageText
.getString("security.certcreate.createfail")
+ "\n" + SystemTime.getCurrentTime(), f));
}
}
});