Versions in this module Expand all Collapse all v0 v0.6.0 Dec 12, 2017 Changes in this version + func HashCert(cert []byte) uint64 + type AEAD interface + Open func(dst, src []byte, packetNumber protocol.PacketNumber, associatedData []byte) ([]byte, error) + Overhead func() int + Seal func(dst, src []byte, packetNumber protocol.PacketNumber, associatedData []byte) []byte + func DeriveAESKeys(tls TLSExporter, pers protocol.Perspective) (AEAD, error) + func DeriveQuicCryptoAESKeys(forwardSecure bool, sharedSecret, nonces []byte, connID protocol.ConnectionID, ...) (AEAD, error) + func NewAEADAESGCM(otherKey []byte, myKey []byte, otherIV []byte, myIV []byte) (AEAD, error) + func NewAEADAESGCM12(otherKey []byte, myKey []byte, otherIV []byte, myIV []byte) (AEAD, error) + func NewNullAEAD(p protocol.Perspective, connID protocol.ConnectionID, v protocol.VersionNumber) (AEAD, error) + type CertChain interface + GetCertsCompressed func(sni string, commonSetHashes, cachedHashes []byte) ([]byte, error) + GetLeafCert func(sni string) ([]byte, error) + SignServerProof func(sni string, chlo []byte, serverConfigData []byte) ([]byte, error) + func NewCertChain(tlsConfig *tls.Config) CertChain + type CertManager interface + GetCommonCertificateHashes func() []byte + GetLeafCert func() []byte + GetLeafCertHash func() (uint64, error) + SetData func([]byte) error + Verify func(hostname string) error + VerifyServerProof func(proof, chlo, serverConfigData []byte) bool + func NewCertManager(tlsConfig *tls.Config) CertManager + type KeyExchange interface + CalculateSharedKey func(otherPublic []byte) ([]byte, error) + PublicKey func() []byte + func NewCurve25519KEX() (KeyExchange, error) + type TLSExporter interface + ComputeExporter func(label string, context []byte, keyLength int) ([]byte, error) + GetCipherSuite func() mint.CipherSuiteParams