// try to overwrite without content protection and without data signature (expected to fail)
data = new Data("dataC");
data.ttlSeconds(ttl).basedOn(bKey).sign(keyPair1, factory);
// put using wrong content protection keys 2 to sign message
futureTryOverwrite = p1.put(lKey).setDomainKey(dKey).setData(cKey, data).setVersionKey(vKey).start();
futureTryOverwrite.awaitUninterruptibly();
Assert.assertFalse(futureTryOverwrite.isSuccess());
// verify that nothing changed
retData = p1.get(lKey).setDomainKey(dKey).setContentKey(cKey).setVersionKey(vKey).start()
.awaitUninterruptibly().getData();