- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for CertificateRequestInfo (0.67 sec)
-
pkg/adsc/util.go
"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) { key, err := config.SecretManager.GenerateSecret(security.WorkloadKeyCertResourceName) if err != nil { return nil, err
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 21 15:51:28 UTC 2022 - 2K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/config.go
// Http proxy used for connection Proxy string // Filled in values. scheme scheme.Instance tlsConfig *tls.Config getClientCertificate func(info *tls.CertificateRequestInfo) (*tls.Certificate, error) checkRedirect func(req *http.Request, via []*http.Request) error proxyURL func(*http.Request) (*url.URL, error) timeout time.Duration
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 9.8K bytes - Viewed (0) -
pilot/pkg/grpc/tls.go
func getTLSDialOption(opts *TLSOptions) (grpc.DialOption, error) { rootCert, err := getRootCertificate(opts.RootCert) if err != nil { return nil, err } config := tls.Config{ GetClientCertificate: func(*tls.CertificateRequestInfo) (*tls.Certificate, error) { var certificate tls.Certificate key, cert := opts.Key, opts.Cert if key != "" && cert != "" { isExpired, err := util.IsCertExpired(opts.Cert) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 22:11:02 UTC 2024 - 2.9K bytes - Viewed (0) -
api/go1.8.txt
pkg crypto/tls, const X25519 CurveID pkg crypto/tls, method (*Config) Clone() *Config pkg crypto/tls, method (*Conn) CloseWrite() error pkg crypto/tls, type CertificateRequestInfo struct pkg crypto/tls, type CertificateRequestInfo struct, AcceptableCAs [][]uint8 pkg crypto/tls, type CertificateRequestInfo struct, SignatureSchemes []SignatureScheme pkg crypto/tls, type ClientHelloInfo struct, Conn net.Conn
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 21 05:25:57 UTC 2016 - 16.3K bytes - Viewed (0) -
internal/config/etcd/etcd.go
etcdClientCertKey := env.Get(EnvEtcdClientCertKey, kvs.Get(ClientCertKey)) if etcdClientCertFile != "" && etcdClientCertKey != "" { cfg.TLS.GetClientCertificate = func(unused *tls.CertificateRequestInfo) (*tls.Certificate, error) { cert, err := tls.LoadX509KeyPair(etcdClientCertFile, etcdClientCertKey) return &cert, err } } } return cfg, nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.8K bytes - Viewed (0) -
src/crypto/tls/handshake_client.go
} } return nil } // certificateRequestInfoFromMsg generates a CertificateRequestInfo from a TLS // <= 1.2 CertificateRequest, making an effort to fill in missing information. func certificateRequestInfoFromMsg(ctx context.Context, vers uint16, certReq *certificateRequestMsg) *CertificateRequestInfo { cri := &CertificateRequestInfo{ AcceptableCAs: certReq.certificateAuthorities, Version: vers,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 38.6K bytes - Viewed (0) -
internal/kms/config.go
if err != nil { return nil, err } cert, err := kes.GenerateCertificate(key) if err != nil { return nil, err } conf.GetClientCertificate = func(*tls.CertificateRequestInfo) (*tls.Certificate, error) { return &cert, nil } } else { loadX509KeyPair := func(certFile, keyFile string) (tls.Certificate, error) { // Manually load the certificate and private key into memory.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 12 14:31:26 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/kubelet/certificate/transport.go
} if tlsConfig == nil { tlsConfig = &tls.Config{} } tlsConfig.Certificates = nil tlsConfig.GetClientCertificate = func(requestInfo *tls.CertificateRequestInfo) (*tls.Certificate, error) { cert := clientCertificateManager.Current() if cert == nil { return &tls.Certificate{Certificate: nil}, nil } return cert, nil } lastCertAvailable := time.Now()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 08 13:57:45 UTC 2022 - 6.5K bytes - Viewed (0) -
src/crypto/tls/common.go
func (c *ClientHelloInfo) Context() context.Context { return c.ctx } // CertificateRequestInfo contains information from a server's // CertificateRequest message, which is used to demand a certificate and proof // of control from a client. type CertificateRequestInfo struct { // AcceptableCAs contains zero or more, DER-encoded, X.501
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_client_tls13.go
if _, err := hs.c.writeHandshakeRecord(&certificateMsgTLS13{}, hs.transcript); err != nil { return err } return nil } cert, err := c.getClientCertificate(&CertificateRequestInfo{ AcceptableCAs: hs.certReq.certificateAuthorities, SignatureSchemes: hs.certReq.supportedSignatureAlgorithms, Version: c.vers, ctx: hs.ctx, }) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 27.9K bytes - Viewed (0)