public void sendMessageResponse(Response message) throws IOException, InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException{
	
		if(message instanceof LoginResponse){
			//GET CHALLENGE AND BASE 64 ENCODE
			byte[] challenge=this.encodeBase64(((LoginResponse) message).getClientchallenge());
			//byte[] challenge=((LoginResponse) message).getClientchallenge();
			//GET PROXY CHALLENGE AND ENCODE BASE 64
			byte[] proxychallenge = this.encodeBase64(((LoginResponse) message).getProxychallenge());
			//GET PROXY SECRET 
			byte[] secretkey = this.encodeBase64(((LoginResponse) message).getSecretkey());
			//GET PROXY IV
			byte[] ivparam = this.encodeBase64(((LoginResponse) message).getIvparameter());
			
			String m = "!ok "+new String(challenge)+ " " +new String(proxychallenge)+" "+new String(secretkey)+" "+new String(ivparam);
			//System.out.println("Before RSA AFTER BASE 64DECODE "+m);
			byte[]brsa = m.getBytes();
			//System.out.println("before rsa: "+brsa.length);
			//RSA & init Chipher
			this.initencryptChipher();
			byte[] rsa = encrypt.doFinal(brsa);
			//System.out.println("nach rsa: "+rsa.length);
			this.sendByteArray(rsa);
		}
	}