harness.verbose("*** Bob generates a new shared secret");
// The call to bobKA.generateSecret above resets the key-agreement
// object, so we call doPhase() again before calling generateSecret()
bobKA.doPhase(alicePubK, true);
SecretKey bobSK = bobKA.generateSecret("DES");
harness.verbose("*** Alice generates a new shared secret");
aliceKA.doPhase(bobPubK, true);
SecretKey aliceSK = aliceKA.generateSecret("DES");