Files
quic-go/internal/crypto/key_exchange.go
2017-09-21 11:52:21 +07:00

8 lines
167 B
Go

package crypto
// KeyExchange manages the exchange of keys
type KeyExchange interface {
PublicKey() []byte
CalculateSharedKey(otherPublic []byte) ([]byte, error)
}