crypto/tls.Config.Certificates (field)
17 uses
crypto/tls (current package)
common.go#L553: Certificates []Certificate
common.go#L883: Certificates: c.Certificates,
common.go#L1195: (len(c.Certificates) == 0 || len(clientHello.ServerName) > 0) {
common.go#L1202: if len(c.Certificates) == 0 {
common.go#L1206: if len(c.Certificates) == 1 {
common.go#L1208: return &c.Certificates[0], nil
common.go#L1226: for _, cert := range c.Certificates {
common.go#L1233: return &c.Certificates[0], nil
common.go#L1438: for i := range c.Certificates {
common.go#L1439: cert := &c.Certificates[i]
handshake_client.go#L553: if isResume || (len(c.config.Certificates) == 0 && c.config.GetClientCertificate == nil) {
handshake_client.go#L1234: for _, chain := range c.config.Certificates {
tls.go#L91: if config == nil || len(config.Certificates) == 0 &&
net/http
server.go#L3390: configHasCert := len(config.Certificates) > 0 || config.GetCertificate != nil || config.GetConfigForClient != nil
server.go#L3393: config.Certificates = make([]tls.Certificate, 1)
server.go#L3394: config.Certificates[0], err = tls.LoadX509KeyPair(certFile, keyFile)
![]() |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |