protected virtual void ReceiveNewSessionTicketMessage(MemoryStream buf) { NewSessionTicket newSessionTicket = NewSessionTicket.Parse(buf); AssertEmpty(buf); mTlsClient.NotifyNewSessionTicket(newSessionTicket); }
protected virtual void ProcessNewSessionTicket(ClientHandshakeState state, byte[] body) { MemoryStream buf = new MemoryStream(body, false); NewSessionTicket newSessionTicket = NewSessionTicket.Parse(buf); TlsProtocol.AssertEmpty(buf); state.client.NotifyNewSessionTicket(newSessionTicket); }