String signedXml = "error!";
JSObject window = JSObject.getWindow(this);
try {
if (keyStore == null || keyStore.size() == 0) {
signedXml = "Unforunately, it looks as if you don't have any certificates to choose from.";
window.call("writeXml", new Object[]{signedXml});
return;
}
} catch (Exception ex) {
signedXml = "Unforunately, it looks as if you don't have any certificates to choose from.";
window.call("writeXml", new Object[]{signedXml});