Example #1
0
 /**
  * @param bar
  * @throws InvalidMessageException
  */
 protected void constructMessage(ByteArrayReader bar) throws InvalidMessageException {
   try {
     hostKey = bar.readBinaryString();
     f = bar.readBigInteger();
     signature = bar.readBinaryString();
   } catch (IOException ioe) {
     throw new InvalidMessageException("Error reading message data: " + ioe.getMessage());
   }
 }