Corrected a forgotten change from participant to server (renaming).
Adapted to the changes in EncryptedKeyPair.