Code example for IllegalBlockSizeException

Methods: printStackTrace

0
		} catch (InvalidKeyException e) {
			e.printStackTrace();
		} catch (NoSuchPaddingException e) {
			e.printStackTrace();
		} catch (IllegalBlockSizeException e) {
			e.printStackTrace();
		} catch (BadPaddingException e) {
			e.printStackTrace();
		} 
		 
		ArrayList<byte[]> arrayOut = new ArrayList<byte[]>();
		arrayOut.add(epEncrypted);
		arrayOut.add(keyEncrypted);
		 
		return MessageUtil.compileMessages(arrayOut);
	} 
	 
	/** 
	 * Create a proof  
	 * P = Comm(ID_p, r_p)|C_k|C_e|STPR 
	 * @param aStampContext current context