public TlsClientHello(TlsContext context, TlsBuffer incoming) : base(HandshakeType.ClientHello) { // FIXME: Fallback ClientProtocol = (TlsProtocolCode)incoming.ReadInt16(); context.VerifyServerProtocol(ClientProtocol); Read(incoming); }
public TlsServerHello(TlsContext context, TlsBuffer incoming) : base(HandshakeType.ServerHello) { // Read and verify protocol version ServerProtocol = (TlsProtocolCode)incoming.ReadInt16(); context.VerifyServerProtocol(ServerProtocol); Read(incoming); }