20 #ifndef MSEENCRYPTEDSERVERAUTHENTICATE_H
21 #define MSEENCRYPTEDSERVERAUTHENTICATE_H
23 #include <util/sha1hash.h>
24 #include <peer/serverauthenticate.h>
32 const Uint32 MAX_SEA_BUF_SIZE = 608 + 20 + 20 + 8 + 4 + 2 + 512 + 2 + 68;
40 EncryptedServerAuthenticate(mse::EncryptedPacketSocket::Ptr sock);
41 ~EncryptedServerAuthenticate()
override;
44 void onReadyRead()
override;
64 NON_ENCRYPTED_HANDSHAKE
69 Uint8 buf[MAX_SEA_BUF_SIZE];
72 Uint32 crypto_provide,crypto_select;