- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for NameToCertificate (0.25 sec)
-
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates.go
} if len(names) == 0 { names = getCertificateNames(x509Cert) for _, name := range names { nameToCertificate[name] = &cert } } } // Explicitly set names must override for k, v := range byNameExplicit { nameToCertificate[k] = v } return nameToCertificate, nil } // getCertificateNames returns names for an x509.Certificate. The names are
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 21 07:29:30 UTC 2022 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/tlsconfig.go
if err != nil { return tlsConfigCopy, nil } ipCert, ok := tlsConfigCopy.NameToCertificate[host] if !ok { return tlsConfigCopy, nil } tlsConfigCopy.Certificates = []tls.Certificate{*ipCert} tlsConfigCopy.NameToCertificate = nil return tlsConfigCopy, nil } // newTLSContent determines the next set of content for overriding the baseTLSConfig.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10.3K bytes - Viewed (0) -
src/crypto/tls/common.go
NameToCertificate map[string]*Certificate // GetCertificate returns a Certificate based on the given // ClientHelloInfo. It will only be called if the client supplies SNI // information or if Certificates is empty. // // If GetCertificate is nil or returns nil, then the certificate is // retrieved from NameToCertificate. If NameToCertificate is nil, the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
// tests the dynamic GetCertificate method func TestHandshakeServerSNIGetCertificate(t *testing.T) { config := testConfig.Clone() // Replace the NameToCertificate map with a GetCertificate function nameToCert := config.NameToCertificate config.NameToCertificate = nil config.GetCertificate = func(clientHello *ClientHelloInfo) (*Certificate, error) { cert := nameToCert[clientHello.ServerName] return cert, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
api/go1.4.txt
pkg crypto/tls, const TLS_FALLBACK_SCSV = 22016 pkg crypto/tls, const TLS_FALLBACK_SCSV uint16 # CL 107400043 crypto/tls: Added dynamic alternative to NameToCertificate map for SNI, Percy Wegmann <******@****.***> pkg crypto/tls, type ClientHelloInfo struct pkg crypto/tls, type ClientHelloInfo struct, CipherSuites []uint16 pkg crypto/tls, type ClientHelloInfo struct, ServerName string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
src/crypto/tls/tls_test.go
// TestCloneFuncFields to ensure that the func field is // cloned. case "Certificates": f.Set(reflect.ValueOf([]Certificate{ {Certificate: [][]byte{{'b'}}}, })) case "NameToCertificate": f.Set(reflect.ValueOf(map[string]*Certificate{"a": nil})) case "RootCAs", "ClientCAs": f.Set(reflect.ValueOf(x509.NewCertPool())) case "ClientSessionCache":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Config.GetConfigForClient", Field, 8}, {"Config.InsecureSkipVerify", Field, 0}, {"Config.KeyLogWriter", Field, 8}, {"Config.MaxVersion", Field, 2}, {"Config.MinVersion", Field, 2}, {"Config.NameToCertificate", Field, 0}, {"Config.NextProtos", Field, 0}, {"Config.PreferServerCipherSuites", Field, 1}, {"Config.Rand", Field, 0}, {"Config.Renegotiation", Field, 7}, {"Config.RootCAs", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.16.txt
pkg crypto/rc4, method (*Cipher) Reset //deprecated pkg crypto/tls, const VersionSSL30 //deprecated pkg crypto/tls, method (*Config) BuildNameToCertificate //deprecated pkg crypto/tls, type Config struct, NameToCertificate //deprecated pkg crypto/tls, type Config struct, SessionTicketKey //deprecated pkg crypto/tls, type ConnectionState struct, NegotiatedProtocolIsMutual //deprecated
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
api/go1.txt
pkg crypto/tls, type Config struct, ClientAuth ClientAuthType pkg crypto/tls, type Config struct, ClientCAs *x509.CertPool pkg crypto/tls, type Config struct, InsecureSkipVerify bool pkg crypto/tls, type Config struct, NameToCertificate map[string]*Certificate pkg crypto/tls, type Config struct, NextProtos []string pkg crypto/tls, type Config struct, Rand io.Reader pkg crypto/tls, type Config struct, RootCAs *x509.CertPool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)