crypto/tls.Config.Certificates (field)
17 uses
crypto/tls (current package)
common.go#L546: Certificates []Certificate
common.go#L836: Certificates: c.Certificates,
common.go#L1115: (len(c.Certificates) == 0 || len(clientHello.ServerName) > 0) {
common.go#L1122: if len(c.Certificates) == 0 {
common.go#L1126: if len(c.Certificates) == 1 {
common.go#L1128: return &c.Certificates[0], nil
common.go#L1146: for _, cert := range c.Certificates {
common.go#L1153: return &c.Certificates[0], nil
common.go#L1358: for i := range c.Certificates {
common.go#L1359: cert := &c.Certificates[i]
handshake_client.go#L453: if isResume || (len(c.config.Certificates) == 0 && c.config.GetClientCertificate == nil) {
handshake_client.go#L1099: for _, chain := range c.config.Certificates {
tls.go#L89: if config == nil || len(config.Certificates) == 0 &&
net/http
server.go#L3115: configHasCert := len(config.Certificates) > 0 || config.GetCertificate != nil
server.go#L3118: config.Certificates = make([]tls.Certificate, 1)
server.go#L3119: config.Certificates[0], err = tls.LoadX509KeyPair(certFile, keyFile)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |