- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getRootCertPoolFor (0.27 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go
options := DefaultVerifyOptions() options.Roots = getRootCertPool(t) return options } func getRootCertPool(t *testing.T) *x509.CertPool { return getRootCertPoolFor(t, rootCACert) } func getRootCertPoolFor(t *testing.T, certs ...string) *x509.CertPool { pool := x509.NewCertPool() for _, cert := range certs { pool.AddCert(getCert(t, cert)) } return pool }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 23:23:03 UTC 2024 - 36.9K bytes - Viewed (0)