Assert.assertEquals(keyPair2.getPublic(), retData.publicKey());
// verify not changed signature
Assert.assertTrue(retData.verify(keyPair2.getPublic(), factory));
p1.shutdown().awaitUninterruptibly();
p2.shutdown().awaitUninterruptibly();
}
@Test
public void testContentProtectionAppliesToAllVersionKeys() throws NoSuchAlgorithmException, IOException,
ClassNotFoundException, InvalidKeyException, SignatureException, NoSuchPaddingException,