QByteArray BlogDropServer::CloseBin() { Q_ASSERT(_client_pubs.count()); _client_pks = QSharedPointer<const PublicKeySet>(new PublicKeySet(_params, _client_pubs)); QSharedPointer<ServerCiphertext> s = CiphertextFactory::CreateServerCiphertext( _params, _client_pks, _author_pub, _client_ciphertexts); s->SetProof(_phase, _server_priv); return s->GetByteArray(); }