/** * Returns <code>true</code> if <code>address</code> contains a base64-encoded * email destination that is either in the address book or among the local * email identities. * @param address * @throws PasswordException * @throws GeneralSecurityException * @throws IOException */ public static boolean isKnown(String address) throws PasswordException, IOException, GeneralSecurityException { String destination = extractEmailDestination(address); if (destination == null) return false; else if (getInstance().getAddressBook().contains(destination)) return true; else return I2PBote.getInstance().getIdentities().contains(destination); }