drop Initial and Handshake keys when receiving the first 1-RTT ACK

This commit is contained in:
Marten Seemann
2019-05-30 02:23:07 +08:00
parent 4834962cbd
commit a4989c3d9c
8 changed files with 111 additions and 35 deletions

View File

@@ -36,6 +36,7 @@ type CryptoSetup interface {
ChangeConnectionID(protocol.ConnectionID) error
HandleMessage([]byte, protocol.EncryptionLevel) bool
Received1RTTAck()
ConnectionState() tls.ConnectionState
GetSealer() (protocol.EncryptionLevel, Sealer)