- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getClientCertFn (0.48 sec)
-
pkg/adsc/util.go
package adsc import ( "crypto/tls" "strings" "istio.io/istio/pkg/config" "istio.io/istio/pkg/config/schema/collections" "istio.io/istio/pkg/security" ) func getClientCertFn(config *Config) func(requestInfo *tls.CertificateRequestInfo) (*tls.Certificate, error) { if config.SecretManager != nil { return func(requestInfo *tls.CertificateRequestInfo) (*tls.Certificate, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 21 15:51:28 UTC 2022 - 2K bytes - Viewed (0) -
pkg/adsc/adsc.go
} return conn, nil } func tlsConfig(config *Config) (*tls.Config, error) { var clientCerts []tls.Certificate var serverCABytes []byte var err error getClientCertificate := getClientCertFn(config) // Load the root CAs if config.RootCert != nil { serverCABytes = config.RootCert } else if config.XDSRootCAFile != "" { serverCABytes, err = os.ReadFile(config.XDSRootCAFile)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0)