- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for ClientHelloInfo (0.78 sec)
-
src/crypto/tls/tls_test.go
} tests := []struct { c *Certificate chi *ClientHelloInfo wantErr string }{ {rsaCert, &ClientHelloInfo{ ServerName: "example.golang", SignatureSchemes: []SignatureScheme{PSSWithSHA256}, SupportedVersions: []uint16{VersionTLS13}, }, ""}, {ecdsaCert, &ClientHelloInfo{ SignatureSchemes: []SignatureScheme{PSSWithSHA256, ECDSAWithP256AndSHA256},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0) -
api/go1.8.txt
pkg crypto/tls, type CertificateRequestInfo struct, SignatureSchemes []SignatureScheme pkg crypto/tls, type ClientHelloInfo struct, Conn net.Conn pkg crypto/tls, type ClientHelloInfo struct, SignatureSchemes []SignatureScheme pkg crypto/tls, type ClientHelloInfo struct, SupportedProtos []string pkg crypto/tls, type ClientHelloInfo struct, SupportedVersions []uint16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 21 05:25:57 UTC 2016 - 16.3K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
setup func(config *Config) callback func(clientHello *ClientHelloInfo) (*Config, error) errorSubstring string verify func(config *Config) error }{ { nil, func(clientHello *ClientHelloInfo) (*Config, error) { return nil, nil }, "", nil, }, { nil, func(clientHello *ClientHelloInfo) (*Config, error) { return nil, errors.New("should bubble up")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
src/crypto/tls/conn_test.go
for i := range config.Certificates { if c == &config.Certificates[i] { return i } } return -1 } certificateForName := func(name string) *Certificate { clientHello := &ClientHelloInfo{ ServerName: name, } if cert, err := config.getCertificate(clientHello); err != nil { t.Errorf("unable to get certificate for name '%s': %s", name, err) return nil } else { return cert
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:35:01 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/test/echo/server/endpoint/hbone.go
return fmt.Errorf("could not load TLS keys: %v", cerr) } config := &tls.Config{ Certificates: []tls.Certificate{cert}, NextProtos: []string{"h2"}, GetConfigForClient: func(info *tls.ClientHelloInfo) (*tls.Config, error) { // There isn't a way to pass through all ALPNs presented by the client down to the // HTTP server to return in the response. However, for debugging, we can at least log // them at this level.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 14 20:23:34 UTC 2022 - 2.7K bytes - Viewed (0) -
api/go1.4.txt
pkg crypto/tls, type ClientHelloInfo struct pkg crypto/tls, type ClientHelloInfo struct, CipherSuites []uint16 pkg crypto/tls, type ClientHelloInfo struct, ServerName string pkg crypto/tls, type ClientHelloInfo struct, SupportedCurves []CurveID pkg crypto/tls, type ClientHelloInfo struct, SupportedPoints []uint8 pkg crypto/tls, type Config struct, GetCertificate func(*ClientHelloInfo) (*Certificate, error)
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/handshake_server.go
return err } } return nil } func clientHelloInfo(ctx context.Context, c *Conn, clientHello *clientHelloMsg) *ClientHelloInfo { supportedVersions := clientHello.supportedVersions if len(clientHello.supportedVersions) == 0 { supportedVersions = supportedVersionsFromMax(clientHello.vers) } return &ClientHelloInfo{ CipherSuites: clientHello.cipherSuites,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 27.6K bytes - Viewed (0) -
src/crypto/tls/common.go
PKCS1WithSHA1 SignatureScheme = 0x0201 ECDSAWithSHA1 SignatureScheme = 0x0203 ) // ClientHelloInfo contains information from a ClientHello message in order to // guide application logic in the GetCertificate and GetConfigForClient callbacks. type ClientHelloInfo struct { // CipherSuites lists the CipherSuites supported by the client (e.g.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/server_test.go
) if err := dynamicCertificateController.RunOnce(); err != nil { t.Fatal(err) } tlsConfig.GetConfigForClient = dynamicCertificateController.GetConfigForClient tlsConfig.GetCertificate = func(*tls.ClientHelloInfo) (*tls.Certificate, error) { return nil, fmt.Errorf("positive failure") } stopCh := make(chan struct{}) defer close(stopCh) server := &http.Server{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 18:29:15 UTC 2021 - 6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/tlsconfig.go
eventRecorder: eventRecorder, } return c } // GetConfigForClient is an implementation of tls.Config.GetConfigForClient func (c *DynamicServingCertificateController) GetConfigForClient(clientHello *tls.ClientHelloInfo) (*tls.Config, error) { uncastObj := c.currentServingTLSConfig.Load() if uncastObj == nil { return nil, errors.New("dynamiccertificates: configuration not ready") } tlsConfig, ok := uncastObj.(*tls.Config)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10.3K bytes - Viewed (0)