SYMBOL INDEX (418 symbols across 14 files) FILE: main.go function main (line 10) | func main() { FILE: tls/alert.go type alert (line 9) | type alert method String (line 77) | func (e alert) String() string { method Error (line 85) | func (e alert) Error() string { constant alertLevelWarning (line 13) | alertLevelWarning = 1 constant alertLevelError (line 14) | alertLevelError = 2 constant alertCloseNotify (line 18) | alertCloseNotify alert = 0 constant alertUnexpectedMessage (line 19) | alertUnexpectedMessage alert = 10 constant alertBadRecordMAC (line 20) | alertBadRecordMAC alert = 20 constant alertDecryptionFailed (line 21) | alertDecryptionFailed alert = 21 constant alertRecordOverflow (line 22) | alertRecordOverflow alert = 22 constant alertDecompressionFailure (line 23) | alertDecompressionFailure alert = 30 constant alertHandshakeFailure (line 24) | alertHandshakeFailure alert = 40 constant alertBadCertificate (line 25) | alertBadCertificate alert = 42 constant alertUnsupportedCertificate (line 26) | alertUnsupportedCertificate alert = 43 constant alertCertificateRevoked (line 27) | alertCertificateRevoked alert = 44 constant alertCertificateExpired (line 28) | alertCertificateExpired alert = 45 constant alertCertificateUnknown (line 29) | alertCertificateUnknown alert = 46 constant alertIllegalParameter (line 30) | alertIllegalParameter alert = 47 constant alertUnknownCA (line 31) | alertUnknownCA alert = 48 constant alertAccessDenied (line 32) | alertAccessDenied alert = 49 constant alertDecodeError (line 33) | alertDecodeError alert = 50 constant alertDecryptError (line 34) | alertDecryptError alert = 51 constant alertProtocolVersion (line 35) | alertProtocolVersion alert = 70 constant alertInsufficientSecurity (line 36) | alertInsufficientSecurity alert = 71 constant alertInternalError (line 37) | alertInternalError alert = 80 constant alertInappropriateFallback (line 38) | alertInappropriateFallback alert = 86 constant alertUserCanceled (line 39) | alertUserCanceled alert = 90 constant alertNoRenegotiation (line 40) | alertNoRenegotiation alert = 100 constant alertMissingExtension (line 41) | alertMissingExtension alert = 109 constant alertUnsupportedExtension (line 42) | alertUnsupportedExtension alert = 110 constant alertUnrecognizedName (line 43) | alertUnrecognizedName alert = 112 constant alertNoApplicationProtocol (line 44) | alertNoApplicationProtocol alert = 120 FILE: tls/auth.go function verifyHandshakeSignature (line 20) | func verifyHandshakeSignature(sigType uint8, pubkey crypto.PublicKey, ha... function typeAndHashFromSignatureScheme (line 70) | func typeAndHashFromSignatureScheme(signatureAlgorithm SignatureScheme) ... function legacyTypeAndHashFromPublicKey (line 103) | func legacyTypeAndHashFromPublicKey(pub crypto.PublicKey) (sigType uint8... function signatureSchemesForCertificate (line 144) | func signatureSchemesForCertificate(version uint16, cert *Certificate) [... function selectSignatureScheme (line 191) | func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []Signa... function unsupportedCertificateError (line 213) | func unsupportedCertificateError(cert *Certificate) error { FILE: tls/cipher_suites.go type CipherSuite (line 23) | type CipherSuite struct type keyAgreement (line 38) | type keyAgreement interface constant suiteECDHE (line 60) | suiteECDHE = 1 << iota constant suiteECSign (line 65) | suiteECSign constant suiteTLS12 (line 68) | suiteTLS12 constant suiteSHA384 (line 71) | suiteSHA384 constant suiteDefaultOff (line 74) | suiteDefaultOff type cipherSuite (line 78) | type cipherSuite struct function cipherRC4 (line 121) | func cipherRC4(key, iv []byte, isRead bool) interface{} { function cipher3DES (line 126) | func cipher3DES(key, iv []byte, isRead bool) interface{} { function cipherAES (line 134) | func cipherAES(key, iv []byte, isRead bool) interface{} { function macSHA1 (line 143) | func macSHA1(version uint16, key []byte) macFunction { function macSHA256 (line 149) | func macSHA256(version uint16, key []byte) macFunction { type macFunction (line 153) | type macFunction interface type aead (line 162) | type aead interface constant aeadNonceLength (line 172) | aeadNonceLength = 12 constant noncePrefixLength (line 173) | noncePrefixLength = 4 type prefixNonceAEAD (line 178) | type prefixNonceAEAD struct method NonceSize (line 184) | func (f *prefixNonceAEAD) NonceSize() int { return aeadNonceLen... method Overhead (line 185) | func (f *prefixNonceAEAD) Overhead() int { return f.aead.Overh... method explicitNonceLen (line 186) | func (f *prefixNonceAEAD) explicitNonceLen() int { return f.NonceSize() } method Seal (line 188) | func (f *prefixNonceAEAD) Seal(out, nonce, plaintext, additionalData [... method Open (line 193) | func (f *prefixNonceAEAD) Open(out, nonce, ciphertext, additionalData ... type xorNonceAEAD (line 200) | type xorNonceAEAD struct method NonceSize (line 205) | func (f *xorNonceAEAD) NonceSize() int { return 8 } method Overhead (line 206) | func (f *xorNonceAEAD) Overhead() int { return f.aead.Overhead... method explicitNonceLen (line 207) | func (f *xorNonceAEAD) explicitNonceLen() int { return 0 } method Seal (line 209) | func (f *xorNonceAEAD) Seal(out, nonce, plaintext, additionalData []by... method Open (line 221) | func (f *xorNonceAEAD) Open(out, nonce, ciphertext, additionalData []b... function aeadAESGCM (line 233) | func aeadAESGCM(key, noncePrefix []byte) aead { function aeadChaCha20Poly1305 (line 251) | func aeadChaCha20Poly1305(key, nonceMask []byte) aead { type constantTimeHash (line 265) | type constantTimeHash interface type cthWrapper (line 272) | type cthWrapper struct method Size (line 276) | func (c *cthWrapper) Size() int { return c.h.Size() } method BlockSize (line 277) | func (c *cthWrapper) BlockSize() int { return c.h.BlockSi... method Reset (line 278) | func (c *cthWrapper) Reset() { c.h.Reset() } method Write (line 279) | func (c *cthWrapper) Write(p []byte) (int, error) { return c.h.Write(p) } method Sum (line 280) | func (c *cthWrapper) Sum(b []byte) []byte { return c.h.Constan... function newConstantTimeHash (line 282) | func newConstantTimeHash(h func() hash.Hash) func() hash.Hash { type tls10MAC (line 289) | type tls10MAC struct method Size (line 294) | func (s tls10MAC) Size() int { method MAC (line 301) | func (s tls10MAC) MAC(seq, header, data, extra []byte) []byte { function rsaKA (line 313) | func rsaKA(version uint16) keyAgreement { function ecdheECDSAKA (line 317) | func ecdheECDSAKA(version uint16) keyAgreement { function ecdheRSAKA (line 324) | func ecdheRSAKA(version uint16) keyAgreement { function mutualCipherSuite (line 333) | func mutualCipherSuite(have []uint16, want uint16) *cipherSuite { function cipherSuiteByID (line 342) | func cipherSuiteByID(id uint16) *cipherSuite { constant TLS_RSA_WITH_RC4_128_SHA (line 357) | TLS_RSA_WITH_RC4_128_SHA uint16 = 0x0005 constant TLS_RSA_WITH_3DES_EDE_CBC_SHA (line 358) | TLS_RSA_WITH_3DES_EDE_CBC_SHA uint16 = 0x000a constant TLS_RSA_WITH_AES_128_CBC_SHA (line 359) | TLS_RSA_WITH_AES_128_CBC_SHA uint16 = 0x002f constant TLS_RSA_WITH_AES_256_CBC_SHA (line 360) | TLS_RSA_WITH_AES_256_CBC_SHA uint16 = 0x0035 constant TLS_RSA_WITH_AES_128_CBC_SHA256 (line 361) | TLS_RSA_WITH_AES_128_CBC_SHA256 uint16 = 0x003c constant TLS_RSA_WITH_AES_128_GCM_SHA256 (line 362) | TLS_RSA_WITH_AES_128_GCM_SHA256 uint16 = 0x009c constant TLS_RSA_WITH_AES_256_GCM_SHA384 (line 363) | TLS_RSA_WITH_AES_256_GCM_SHA384 uint16 = 0x009d constant TLS_ECDHE_ECDSA_WITH_RC4_128_SHA (line 364) | TLS_ECDHE_ECDSA_WITH_RC4_128_SHA uint16 = 0xc007 constant TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA (line 365) | TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA uint16 = 0xc009 constant TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (line 366) | TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA uint16 = 0xc00a constant TLS_ECDHE_RSA_WITH_RC4_128_SHA (line 367) | TLS_ECDHE_RSA_WITH_RC4_128_SHA uint16 = 0xc011 constant TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA (line 368) | TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA uint16 = 0xc012 constant TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (line 369) | TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA uint16 = 0xc013 constant TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (line 370) | TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA uint16 = 0xc014 constant TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 (line 371) | TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 uint16 = 0xc023 constant TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (line 372) | TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 uint16 = 0xc027 constant TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (line 373) | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 uint16 = 0xc02f constant TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (line 374) | TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 uint16 = 0xc02b constant TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (line 375) | TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 uint16 = 0xc030 constant TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (line 376) | TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 uint16 = 0xc02c constant TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (line 377) | TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 uint16 = 0xcca8 constant TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 (line 378) | TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 uint16 = 0xcca9 constant TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 (line 382) | TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 = TLS_ECDHE_RSA_WITH_CHACHA20_POL... constant TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 (line 383) | TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 = TLS_ECDHE_ECDSA_WITH_CHACHA20_P... FILE: tls/common.go constant VersionTLS10 (line 23) | VersionTLS10 = 0x0301 constant VersionTLS11 (line 24) | VersionTLS11 = 0x0302 constant VersionTLS12 (line 25) | VersionTLS12 = 0x0303 constant maxPlaintext (line 29) | maxPlaintext = 16384 constant recordHeaderLen (line 30) | recordHeaderLen = 5 constant maxHandshake (line 31) | maxHandshake = 65536 constant maxUselessRecords (line 32) | maxUselessRecords = 16 type recordType (line 36) | type recordType constant recordTypeChangeCipherSpec (line 39) | recordTypeChangeCipherSpec recordType = 20 constant recordTypeAlert (line 40) | recordTypeAlert recordType = 21 constant recordTypeHandshake (line 41) | recordTypeHandshake recordType = 22 constant recordTypeApplicationData (line 42) | recordTypeApplicationData recordType = 23 constant typeHelloRequest (line 47) | typeHelloRequest uint8 = 0 constant typeClientHello (line 48) | typeClientHello uint8 = 1 constant typeServerHello (line 49) | typeServerHello uint8 = 2 constant typeNewSessionTicket (line 50) | typeNewSessionTicket uint8 = 4 constant typeEndOfEarlyData (line 51) | typeEndOfEarlyData uint8 = 5 constant typeEncryptedExtensions (line 52) | typeEncryptedExtensions uint8 = 8 constant typeCertificate (line 53) | typeCertificate uint8 = 11 constant typeServerKeyExchange (line 54) | typeServerKeyExchange uint8 = 12 constant typeCertificateRequest (line 55) | typeCertificateRequest uint8 = 13 constant typeServerHelloDone (line 56) | typeServerHelloDone uint8 = 14 constant typeCertificateVerify (line 57) | typeCertificateVerify uint8 = 15 constant typeClientKeyExchange (line 58) | typeClientKeyExchange uint8 = 16 constant typeFinished (line 59) | typeFinished uint8 = 20 constant typeCertificateStatus (line 60) | typeCertificateStatus uint8 = 22 constant typeKeyUpdate (line 61) | typeKeyUpdate uint8 = 24 constant compressionNone (line 66) | compressionNone uint8 = 0 constant extensionServerName (line 71) | extensionServerName uint16 = 0 constant extensionStatusRequest (line 72) | extensionStatusRequest uint16 = 5 constant extensionSupportedCurves (line 73) | extensionSupportedCurves uint16 = 10 constant extensionSupportedPoints (line 74) | extensionSupportedPoints uint16 = 11 constant extensionSignatureAlgorithms (line 75) | extensionSignatureAlgorithms uint16 = 13 constant extensionALPN (line 76) | extensionALPN uint16 = 16 constant extensionSCT (line 77) | extensionSCT uint16 = 18 constant extensionSessionTicket (line 78) | extensionSessionTicket uint16 = 35 constant extensionPreSharedKey (line 79) | extensionPreSharedKey uint16 = 41 constant extensionEarlyData (line 80) | extensionEarlyData uint16 = 42 constant extensionSupportedVersions (line 81) | extensionSupportedVersions uint16 = 43 constant extensionCookie (line 82) | extensionCookie uint16 = 44 constant extensionPSKModes (line 83) | extensionPSKModes uint16 = 45 constant extensionCertificateAuthorities (line 84) | extensionCertificateAuthorities uint16 = 47 constant extensionSignatureAlgorithmsCert (line 85) | extensionSignatureAlgorithmsCert uint16 = 50 constant extensionKeyShare (line 86) | extensionKeyShare uint16 = 51 constant extensionRenegotiationInfo (line 87) | extensionRenegotiationInfo uint16 = 0xff01 constant scsvRenegotiation (line 92) | scsvRenegotiation uint16 = 0x00ff type CurveID (line 100) | type CurveID constant CurveP256 (line 103) | CurveP256 CurveID = 23 constant CurveP384 (line 104) | CurveP384 CurveID = 24 constant CurveP521 (line 105) | CurveP521 CurveID = 25 constant X25519 (line 106) | X25519 CurveID = 29 type keyShare (line 110) | type keyShare struct constant pointFormatUncompressed (line 118) | pointFormatUncompressed uint8 = 0 constant statusTypeOCSP (line 123) | statusTypeOCSP uint8 = 1 constant certTypeRSASign (line 128) | certTypeRSASign = 1 constant certTypeECDSASign (line 129) | certTypeECDSASign = 64 constant signaturePKCS1v15 (line 135) | signaturePKCS1v15 uint8 = iota + 225 constant signatureRSAPSS (line 136) | signatureRSAPSS constant signatureECDSA (line 137) | signatureECDSA constant signatureEd25519 (line 138) | signatureEd25519 type ConnectionState (line 166) | type ConnectionState struct method ExportKeyingMaterial (line 195) | func (cs *ConnectionState) ExportKeyingMaterial(label string, context ... type ClientSessionState (line 201) | type ClientSessionState struct type ClientSessionCache (line 222) | type ClientSessionCache interface type SignatureScheme (line 236) | type SignatureScheme constant PKCS1WithSHA256 (line 240) | PKCS1WithSHA256 SignatureScheme = 0x0401 constant PKCS1WithSHA384 (line 241) | PKCS1WithSHA384 SignatureScheme = 0x0501 constant PKCS1WithSHA512 (line 242) | PKCS1WithSHA512 SignatureScheme = 0x0601 constant PSSWithSHA256 (line 245) | PSSWithSHA256 SignatureScheme = 0x0804 constant PSSWithSHA384 (line 246) | PSSWithSHA384 SignatureScheme = 0x0805 constant PSSWithSHA512 (line 247) | PSSWithSHA512 SignatureScheme = 0x0806 constant ECDSAWithP256AndSHA256 (line 250) | ECDSAWithP256AndSHA256 SignatureScheme = 0x0403 constant ECDSAWithP384AndSHA384 (line 251) | ECDSAWithP384AndSHA384 SignatureScheme = 0x0503 constant ECDSAWithP521AndSHA512 (line 252) | ECDSAWithP521AndSHA512 SignatureScheme = 0x0603 constant Ed25519 (line 255) | Ed25519 SignatureScheme = 0x0807 constant PKCS1WithSHA1 (line 258) | PKCS1WithSHA1 SignatureScheme = 0x0201 constant ECDSAWithSHA1 (line 259) | ECDSAWithSHA1 SignatureScheme = 0x0203 type ClientHelloInfo (line 264) | type ClientHelloInfo struct type CertificateRequestInfo (line 316) | type CertificateRequestInfo struct method SupportsCertificate (line 749) | func (cri *CertificateRequestInfo) SupportsCertificate(c *Certificate)... type RenegotiationSupport (line 345) | type RenegotiationSupport constant RenegotiateNever (line 349) | RenegotiateNever RenegotiationSupport = iota constant RenegotiateOnceAsClient (line 353) | RenegotiateOnceAsClient constant RenegotiateFreelyAsClient (line 357) | RenegotiateFreelyAsClient type Config (line 364) | type Config struct method Clone (line 562) | func (c *Config) Clone() *Config { method serverInit (line 602) | func (c *Config) serverInit(originalConfig *Config) { method ticketKeys (line 633) | func (c *Config) ticketKeys() []ticketKey { method SetSessionTicketKeys (line 647) | func (c *Config) SetSessionTicketKeys(keys [][32]byte) { method rand (line 662) | func (c *Config) rand() io.Reader { method time (line 670) | func (c *Config) time() time.Time { method cipherSuites (line 678) | func (c *Config) cipherSuites() []uint16 { method supportedVersions (line 692) | func (c *Config) supportedVersions() []uint16 { method maxSupportedVersion (line 706) | func (c *Config) maxSupportedVersion() uint16 { method curvePreferences (line 716) | func (c *Config) curvePreferences() []CurveID { method supportsCurve (line 723) | func (c *Config) supportsCurve(curve CurveID) bool { method mutualVersion (line 734) | func (c *Config) mutualVersion(peerVersions []uint16) (uint16, bool) { method writeKeyLog (line 782) | func (c *Config) writeKeyLog(label string, clientRandom, secret []byte... constant ticketKeyNameLen (line 538) | ticketKeyNameLen = 16 type ticketKey (line 541) | type ticketKey struct function ticketKeyFromBytes (line 552) | func ticketKeyFromBytes(b [32]byte) (key ticketKey) { constant keyLogLabelTLS12 (line 779) | keyLogLabelTLS12 = "CLIENT_RANDOM" type Certificate (line 801) | type Certificate struct method leaf (line 825) | func (c *Certificate) leaf() (*x509.Certificate, error) { type handshakeMessage (line 832) | type handshakeMessage interface type dsaSignature (line 838) | type dsaSignature struct type ecdsaSignature (line 842) | type ecdsaSignature function defaultConfig (line 846) | func defaultConfig() *Config { function defaultCipherSuites (line 855) | func defaultCipherSuites() []uint16 { function initDefaultCipherSuites (line 860) | func initDefaultCipherSuites() { function unexpectedMessageError (line 889) | func unexpectedMessageError(wanted, got interface{}) error { function isSupportedSignatureAlgorithm (line 893) | func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSign... FILE: tls/conn.go type Conn (line 25) | type Conn struct method LocalAddr (line 117) | func (c *Conn) LocalAddr() net.Addr { method RemoteAddr (line 122) | func (c *Conn) RemoteAddr() net.Addr { method SetDeadline (line 129) | func (c *Conn) SetDeadline(t time.Time) error { method SetReadDeadline (line 135) | func (c *Conn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 142) | func (c *Conn) SetWriteDeadline(t time.Time) error { method newRecordHeaderError (line 494) | func (c *Conn) newRecordHeaderError(conn net.Conn, msg string) (err Re... method readRecord (line 501) | func (c *Conn) readRecord() error { method readChangeCipherSpec (line 505) | func (c *Conn) readChangeCipherSpec() error { method readRecordOrCCS (line 521) | func (c *Conn) readRecordOrCCS(expectChangeCipherSpec bool) error { method retryReadRecord (line 663) | func (c *Conn) retryReadRecord(expectChangeCipherSpec bool) error { method readFromUntil (line 697) | func (c *Conn) readFromUntil(r io.Reader, n int) error { method sendAlertLocked (line 711) | func (c *Conn) sendAlertLocked(err alert) error { method sendAlert (line 730) | func (c *Conn) sendAlert(err alert) error { method maxPayloadSizeForWrite (line 766) | func (c *Conn) maxPayloadSizeForWrite(typ recordType) int { method write (line 810) | func (c *Conn) write(data []byte) (int, error) { method flush (line 821) | func (c *Conn) flush() (int, error) { method writeRecordLocked (line 835) | func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, er... method writeRecord (line 879) | func (c *Conn) writeRecord(typ recordType, data []byte) (int, error) { method readHandshake (line 888) | func (c *Conn) readHandshake() (interface{}, error) { method Write (line 964) | func (c *Conn) Write(b []byte) (int, error) { method handleRenegotiation (line 1021) | func (c *Conn) handleRenegotiation() error { method handlePostHandshakeMessage (line 1059) | func (c *Conn) handlePostHandshakeMessage() error { method Read (line 1065) | func (c *Conn) Read(b []byte) (int, error) { method Close (line 1109) | func (c *Conn) Close() error { method CloseWrite (line 1148) | func (c *Conn) CloseWrite() error { method closeNotify (line 1156) | func (c *Conn) closeNotify() error { method Handshake (line 1171) | func (c *Conn) Handshake() error { method ConnectionState (line 1202) | func (c *Conn) ConnectionState() ConnectionState { method OCSPResponse (line 1239) | func (c *Conn) OCSPResponse() []byte { method VerifyHostname (line 1249) | func (c *Conn) VerifyHostname(host string) error { method handshakeComplete (line 1261) | func (c *Conn) handshakeComplete() bool { type halfConn (line 148) | type halfConn struct method setErrorLocked (line 164) | func (hc *halfConn) setErrorLocked(err error) error { method prepareCipherSpec (line 171) | func (hc *halfConn) prepareCipherSpec(version uint16, cipher interface... method changeCipherSpec (line 179) | func (hc *halfConn) changeCipherSpec() error { method incSeq (line 194) | func (hc *halfConn) incSeq() { method explicitNonceLen (line 211) | func (hc *halfConn) explicitNonceLen() int { method decrypt (line 294) | func (hc *halfConn) decrypt(record []byte) ([]byte, recordType, error) { method encrypt (line 405) | func (hc *halfConn) encrypt(record, payload []byte, rand io.Reader) ([... function extractPadding (line 235) | func extractPadding(payload []byte) (toRemove int, good byte) { function roundUp (line 282) | func roundUp(a, b int) int { type cbcMode (line 287) | type cbcMode interface function sliceForAppend (line 392) | func sliceForAppend(in []byte, n int) (head, tail []byte) { type RecordHeaderError (line 479) | type RecordHeaderError struct method Error (line 492) | func (e RecordHeaderError) Error() string { return "tls: " + e.Msg } type atLeastReader (line 675) | type atLeastReader struct method Read (line 680) | func (r *atLeastReader) Read(p []byte) (int, error) { constant tcpMSSEstimate (line 742) | tcpMSSEstimate = 1208 constant recordSizeBoostThreshold (line 747) | recordSizeBoostThreshold = 128 * 1024 FILE: tls/generate_cert.go function publicKey (line 40) | func publicKey(priv interface{}) interface{} { function main (line 53) | func main() { FILE: tls/handshake_client.go type clientHandshakeState (line 23) | type clientHandshakeState struct method handshake (line 283) | func (hs *clientHandshakeState) handshake() error { method pickCipherSuite (line 351) | func (hs *clientHandshakeState) pickCipherSuite() error { method doFullHandshake (line 361) | func (hs *clientHandshakeState) doFullHandshake() error { method establishKeys (line 548) | func (hs *clientHandshakeState) establishKeys() error { method serverResumedSession (line 570) | func (hs *clientHandshakeState) serverResumedSession() bool { method processServerHello (line 577) | func (hs *clientHandshakeState) processServerHello() (bool, error) { method readFinished (line 642) | func (hs *clientHandshakeState) readFinished(out []byte) error { method readSessionTicket (line 670) | func (hs *clientHandshakeState) readSessionTicket() error { method sendFinished (line 700) | func (hs *clientHandshakeState) sendFinished(out []byte) error { method makeClientHello (line 33) | func (c *Conn) makeClientHello() (*clientHelloMsg, error) { method clientHandshake (line 131) | func (c *Conn) clientHandshake() (err error) { method loadSession (line 199) | func (c *Conn) loadSession(hello *clientHelloMsg) (cacheKey string, sess... method pickTLSVersion (line 261) | func (c *Conn) pickTLSVersion(serverHello *serverHelloMsg) error { method verifyServerCertificate (line 719) | func (c *Conn) verifyServerCertificate(certificates [][]byte) error { function certificateRequestInfoFromMsg (line 771) | func certificateRequestInfoFromMsg(vers uint16, certReq *certificateRequ... method getClientCertificate (line 826) | func (c *Conn) getClientCertificate(cri *CertificateRequestInfo) (*Certi... function clientSessionCacheKey (line 844) | func clientSessionCacheKey(serverAddr net.Addr, config *Config) string { function hostnameInSNI (line 854) | func hostnameInSNI(name string) string { FILE: tls/handshake_messages.go type marshalingFunction (line 16) | type marshalingFunction method Marshal (line 18) | func (f marshalingFunction) Marshal(b *cryptobyte.Builder) error { function addBytesWithLength (line 24) | func addBytesWithLength(b *cryptobyte.Builder, v []byte, n int) { function readUint8LengthPrefixed (line 36) | func readUint8LengthPrefixed(s *cryptobyte.String, out *[]byte) bool { function readUint16LengthPrefixed (line 42) | func readUint16LengthPrefixed(s *cryptobyte.String, out *[]byte) bool { function readUint24LengthPrefixed (line 48) | func readUint24LengthPrefixed(s *cryptobyte.String, out *[]byte) bool { type clientHelloMsg (line 52) | type clientHelloMsg struct method marshal (line 79) | func (m *clientHelloMsg) marshal() []byte { method marshalWithoutBinders (line 267) | func (m *clientHelloMsg) marshalWithoutBinders() []byte { method updateBinders (line 281) | func (m *clientHelloMsg) updateBinders(pskBinders [][]byte) { method unmarshal (line 308) | func (m *clientHelloMsg) unmarshal(data []byte) bool { type serverHelloMsg (line 525) | type serverHelloMsg struct method marshal (line 549) | func (m *serverHelloMsg) marshal() []byte { method unmarshal (line 665) | func (m *serverHelloMsg) unmarshal(data []byte) bool { type encryptedExtensionsMsg (line 775) | type encryptedExtensionsMsg struct method marshal (line 780) | func (m *encryptedExtensionsMsg) marshal() []byte { method unmarshal (line 806) | func (m *encryptedExtensionsMsg) unmarshal(data []byte) bool { type endOfEarlyDataMsg (line 849) | type endOfEarlyDataMsg struct method marshal (line 851) | func (m *endOfEarlyDataMsg) marshal() []byte { method unmarshal (line 857) | func (m *endOfEarlyDataMsg) unmarshal(data []byte) bool { type keyUpdateMsg (line 861) | type keyUpdateMsg struct method marshal (line 866) | func (m *keyUpdateMsg) marshal() []byte { method unmarshal (line 885) | func (m *keyUpdateMsg) unmarshal(data []byte) bool { type newSessionTicketMsgTLS13 (line 905) | type newSessionTicketMsgTLS13 struct method marshal (line 914) | func (m *newSessionTicketMsgTLS13) marshal() []byte { method unmarshal (line 945) | func (m *newSessionTicketMsgTLS13) unmarshal(data []byte) bool { type certificateRequestMsgTLS13 (line 986) | type certificateRequestMsgTLS13 struct method marshal (line 995) | func (m *certificateRequestMsgTLS13) marshal() []byte { method unmarshal (line 1060) | func (m *certificateRequestMsgTLS13) unmarshal(data []byte) bool { type certificateMsg (line 1136) | type certificateMsg struct method marshal (line 1141) | func (m *certificateMsg) marshal() (x []byte) { method unmarshal (line 1176) | func (m *certificateMsg) unmarshal(data []byte) bool { type certificateMsgTLS13 (line 1213) | type certificateMsgTLS13 struct method marshal (line 1220) | func (m *certificateMsgTLS13) marshal() []byte { method unmarshal (line 1281) | func (m *certificateMsgTLS13) unmarshal(data []byte) bool { function marshalCertificate (line 1244) | func marshalCertificate(b *cryptobyte.Builder, certificate Certificate) { function unmarshalCertificate (line 1299) | func unmarshalCertificate(s *cryptobyte.String, certificate *Certificate... type serverKeyExchangeMsg (line 1359) | type serverKeyExchangeMsg struct method marshal (line 1364) | func (m *serverKeyExchangeMsg) marshal() []byte { method unmarshal (line 1380) | func (m *serverKeyExchangeMsg) unmarshal(data []byte) bool { type certificateStatusMsg (line 1389) | type certificateStatusMsg struct method marshal (line 1394) | func (m *certificateStatusMsg) marshal() []byte { method unmarshal (line 1412) | func (m *certificateStatusMsg) unmarshal(data []byte) bool { type serverHelloDoneMsg (line 1426) | type serverHelloDoneMsg struct method marshal (line 1428) | func (m *serverHelloDoneMsg) marshal() []byte { method unmarshal (line 1434) | func (m *serverHelloDoneMsg) unmarshal(data []byte) bool { type clientKeyExchangeMsg (line 1438) | type clientKeyExchangeMsg struct method marshal (line 1443) | func (m *clientKeyExchangeMsg) marshal() []byte { method unmarshal (line 1459) | func (m *clientKeyExchangeMsg) unmarshal(data []byte) bool { type finishedMsg (line 1472) | type finishedMsg struct method marshal (line 1477) | func (m *finishedMsg) marshal() []byte { method unmarshal (line 1492) | func (m *finishedMsg) unmarshal(data []byte) bool { type certificateRequestMsg (line 1500) | type certificateRequestMsg struct method marshal (line 1511) | func (m *certificateRequestMsg) marshal() (x []byte) { method unmarshal (line 1566) | func (m *certificateRequestMsg) unmarshal(data []byte) bool { type certificateVerifyMsg (line 1642) | type certificateVerifyMsg struct method marshal (line 1649) | func (m *certificateVerifyMsg) marshal() (x []byte) { method unmarshal (line 1669) | func (m *certificateVerifyMsg) unmarshal(data []byte) bool { type newSessionTicketMsg (line 1684) | type newSessionTicketMsg struct method marshal (line 1689) | func (m *newSessionTicketMsg) marshal() (x []byte) { method unmarshal (line 1711) | func (m *newSessionTicketMsg) unmarshal(data []byte) bool { type helloRequestMsg (line 1733) | type helloRequestMsg struct method marshal (line 1736) | func (*helloRequestMsg) marshal() []byte { method unmarshal (line 1740) | func (*helloRequestMsg) unmarshal(data []byte) bool { FILE: tls/key_agreement.go type rsaKeyAgreement (line 23) | type rsaKeyAgreement struct method generateServerKeyExchange (line 25) | func (ka rsaKeyAgreement) generateServerKeyExchange(config *Config, ce... method processClientKeyExchange (line 29) | func (ka rsaKeyAgreement) processClientKeyExchange(config *Config, cer... method processServerKeyExchange (line 57) | func (ka rsaKeyAgreement) processServerKeyExchange(config *Config, cli... method generateClientKeyExchange (line 61) | func (ka rsaKeyAgreement) generateClientKeyExchange(config *Config, cl... function sha1Hash (line 83) | func sha1Hash(slices [][]byte) []byte { function md5SHA1Hash (line 93) | func md5SHA1Hash(slices [][]byte) []byte { function hashForServerKeyExchange (line 108) | func hashForServerKeyExchange(sigType uint8, hashFunc crypto.Hash, versi... type ecdheKeyAgreement (line 134) | type ecdheKeyAgreement struct method generateServerKeyExchange (line 145) | func (ka *ecdheKeyAgreement) generateServerKeyExchange(config *Config,... method processClientKeyExchange (line 234) | func (ka *ecdheKeyAgreement) processClientKeyExchange(config *Config, ... method processServerKeyExchange (line 247) | func (ka *ecdheKeyAgreement) processServerKeyExchange(config *Config, ... method generateClientKeyExchange (line 328) | func (ka *ecdheKeyAgreement) generateClientKeyExchange(config *Config,... FILE: tls/key_schedule.go constant resumptionBinderLabel (line 20) | resumptionBinderLabel = "res binder" constant clientHandshakeTrafficLabel (line 21) | clientHandshakeTrafficLabel = "c hs traffic" constant serverHandshakeTrafficLabel (line 22) | serverHandshakeTrafficLabel = "s hs traffic" constant clientApplicationTrafficLabel (line 23) | clientApplicationTrafficLabel = "c ap traffic" constant serverApplicationTrafficLabel (line 24) | serverApplicationTrafficLabel = "s ap traffic" constant exporterLabel (line 25) | exporterLabel = "exp master" constant resumptionLabel (line 26) | resumptionLabel = "res master" constant trafficUpdateLabel (line 27) | trafficUpdateLabel = "traffic upd" type ecdheParameters (line 32) | type ecdheParameters interface function generateECDHEParameters (line 38) | func generateECDHEParameters(rand io.Reader, curveID CurveID) (ecdhePara... function curveForCurveID (line 65) | func curveForCurveID(id CurveID) (elliptic.Curve, bool) { type nistParameters (line 78) | type nistParameters struct method CurveID (line 84) | func (p *nistParameters) CurveID() CurveID { method PublicKey (line 88) | func (p *nistParameters) PublicKey() []byte { method SharedKey (line 93) | func (p *nistParameters) SharedKey(peerPublicKey []byte) []byte { type x25519Parameters (line 109) | type x25519Parameters struct method CurveID (line 114) | func (p *x25519Parameters) CurveID() CurveID { method PublicKey (line 118) | func (p *x25519Parameters) PublicKey() []byte { method SharedKey (line 122) | func (p *x25519Parameters) SharedKey(peerPublicKey []byte) []byte { FILE: tls/prf.go function splitPreMasterSecret (line 20) | func splitPreMasterSecret(secret []byte) (s1, s2 []byte) { function pHash (line 27) | func pHash(result, secret, seed []byte, hash func() hash.Hash) { function prf10 (line 48) | func prf10(result, secret, label, seed []byte) { function prf12 (line 67) | func prf12(hashFunc func() hash.Hash) func(result, secret, label, seed [... constant masterSecretLength (line 78) | masterSecretLength = 48 constant finishedVerifyLength (line 79) | finishedVerifyLength = 12 function prfAndHashForVersion (line 87) | func prfAndHashForVersion(version uint16, suite *cipherSuite) (func(resu... function prfForVersion (line 101) | func prfForVersion(version uint16, suite *cipherSuite) func(result, secr... function masterFromPreMasterSecret (line 108) | func masterFromPreMasterSecret(version uint16, suite *cipherSuite, preMa... function keysFromMasterSecret (line 121) | func keysFromMasterSecret(version uint16, suite *cipherSuite, masterSecr... function newFinishedHash (line 143) | func newFinishedHash(version uint16, cipherSuite *cipherSuite) finishedH... type finishedHash (line 159) | type finishedHash struct method Write (line 174) | func (h *finishedHash) Write(msg []byte) (n int, err error) { method Sum (line 190) | func (h finishedHash) Sum() []byte { method clientSum (line 202) | func (h finishedHash) clientSum(masterSecret []byte) []byte { method serverSum (line 210) | func (h finishedHash) serverSum(masterSecret []byte) []byte { method hashForClientCertificate (line 218) | func (h finishedHash) hashForClientCertificate(sigType uint8, hashAlg ... method discardHandshakeBuffer (line 242) | func (h *finishedHash) discardHandshakeBuffer() { function noExportedKeyingMaterial (line 249) | func noExportedKeyingMaterial(label string, context []byte, length int) ... function ekmFromMasterSecret (line 254) | func ekmFromMasterSecret(version uint16, suite *cipherSuite, masterSecre... FILE: tls/ticket.go method encryptTicket (line 18) | func (c *Conn) encryptTicket(state []byte) ([]byte, error) { method decryptTicket (line 42) | func (c *Conn) decryptTicket(encrypted []byte) (plaintext []byte, usedOl... FILE: tls/tls.go function Client (line 24) | func Client(conn net.Conn, config *Config) *Conn { type timeoutError (line 28) | type timeoutError struct method Error (line 30) | func (timeoutError) Error() string { return "tls: DialWithDialer tim... method Timeout (line 31) | func (timeoutError) Timeout() bool { return true } method Temporary (line 32) | func (timeoutError) Temporary() bool { return true } function DialWithDialer (line 41) | func DialWithDialer(dialer *net.Dialer, network, addr string, config *Co... function Dial (line 113) | func Dial(network, addr string, config *Config) (*Conn, error) {