120121122123124125126127128129130
} private KeyBundle readKey(String file) { KeyBundle bundle = null; try { FileInputStream in = new FileInputStream(file);
287288289290291292293294295296297
//********************************************************************** // First get the key. //********************************************************************** KeyBundle bundle = (KeyBundle)keys.get(jid); if(bundle==null)return; //********************************************************************** // Read the signed file
387388389390391392393394395396397
} public XExtension encrypt(String text,JID jid) { KeyBundle bundle = (KeyBundle)keys.get(jid); if(bundle==null) { Popups.messagePopup("Encryption not possible, key not found", "Key not found"); return null; }