* @param message
* @throws RemoteException
*/
private void printMessage(MessageInterface message) throws RemoteException {
if (message.isCrypted()) {
ChatMemberModelInterface chatMemberModelInterface = message.getSender();
KeyPair keyPair = chatMemberModelInterface.getKeyPair();
try {
Cipher cipher = KeyController.privateDecryptCipher(keyPair);
SealedObject object = (SealedObject)message.getMessage();
System.out.println(object.getObject(cipher));
} catch (Exception e) {