mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 05:07:36 +03:00
use separate functions per encryption level to get sealers
This commit is contained in:
parent
d4d3f09ee3
commit
c503769bcd
6 changed files with 180 additions and 124 deletions
|
@ -49,6 +49,7 @@ type CryptoSetup interface {
|
|||
GetHandshakeOpener() (Opener, error)
|
||||
Get1RTTOpener() (Opener, error)
|
||||
|
||||
GetSealer() (protocol.EncryptionLevel, Sealer)
|
||||
GetSealerWithEncryptionLevel(protocol.EncryptionLevel) (Sealer, error)
|
||||
GetInitialSealer() (Sealer, error)
|
||||
GetHandshakeSealer() (Sealer, error)
|
||||
Get1RTTSealer() (Sealer, error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue