route/vendor/github.com/lucas-clemente/quic-go/internal/crypto/key_exchange.go

8 lines
167 B
Go
Raw Normal View History

2017-12-12 02:51:45 +00:00
package crypto
// KeyExchange manages the exchange of keys
type KeyExchange interface {
PublicKey() []byte
CalculateSharedKey(otherPublic []byte) ([]byte, error)
}