return false;
}
public String signScript(final String pScript) {
final ScriptContents content = new ScriptContents(pScript);
final EnterPasswordDialog pwdDialog = new EnterPasswordDialog(Controller.getCurrentController().getViewController().getJFrame(), false);
pwdDialog.setModal(true);
pwdDialog.setVisible(true);
if (pwdDialog.getResult() == EnterPasswordDialog.CANCEL) {
return content.mScript;
}
final char[] password = pwdDialog.getPassword().toString().toCharArray();
initializeKeystore(password);
try {
final Signature instance = Signature.getInstance("SHA1withDSA");
String keyName = SignedScriptHandler.FREEPLANE_SCRIPT_KEY_NAME;
final String propertyKeyName = ResourceController.getResourceController().getProperty(