Alternative TLS implementation in Go
Go to file
Adam Langley 6f1dcf99be crypto/tls: add server side SNI support.
With this in place, a TLS server is capable of selecting the correct
certificate based on the client's ServerNameIndication extension.

The need to call Config.BuildNameToCertificate is unfortunate, but
adding a sync.Once to the Config structure made it uncopyable and I
felt that was too high a price to pay. Parsing the leaf certificates
in each handshake was too inefficient to consider.

R=bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5151048
2011-10-08 10:06:53 -04:00
alert.go crypto/tls: simpler implementation of record layer 2010-04-26 22:19:04 -07:00
cipher_suites.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
common.go crypto/tls: add server side SNI support. 2011-10-08 10:06:53 -04:00
conn_test.go crypto/tls: add server side SNI support. 2011-10-08 10:06:53 -04:00
conn.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
generate_cert.go crypto/tls: fix generate_cert.go 2011-07-06 16:22:21 -04:00
handshake_client_test.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
handshake_client.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
handshake_messages_test.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
handshake_messages.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
handshake_server_test.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
handshake_server.go crypto/tls: add server side SNI support. 2011-10-08 10:06:53 -04:00
key_agreement.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
Makefile crypto: move certificate verification into x509. 2011-04-19 09:57:58 -04:00
parse-gnutls-cli-debug-log.py crypto/tls: check in support code. 2010-12-16 10:39:53 -05:00
prf_test.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
prf.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
tls.go os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00