code: public byte[] computeSharedSecret(Key key) throws InvalidKeyException {
  		keyAgreement.doPhase(key, true);
  		return keyAgreement.generateSecret();
  	}
docs: <p>Computes the shared secret using the other peer's public key.</p>
  @param key
  @return
  @throws InvalidKeyException