Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 85 for roots (0.14 sec)

  1. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    // intermediate CAs back to the root CA
    func VerifyCertChain(cert *x509.Certificate, intermediates []*x509.Certificate, root *x509.Certificate) error {
    	rootPool := x509.NewCertPool()
    	rootPool.AddCert(root)
    
    	intermediatePool := x509.NewCertPool()
    	for _, c := range intermediates {
    		intermediatePool.AddCert(c)
    	}
    
    	verifyOptions := x509.VerifyOptions{
    		Roots:         rootPool,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_server.go

    			c.sendAlert(alertBadCertificate)
    		}
    		return errors.New("tls: client didn't provide a certificate")
    	}
    
    	if c.config.ClientAuth >= VerifyClientCertIfGiven && len(certs) > 0 {
    		opts := x509.VerifyOptions{
    			Roots:         c.config.ClientCAs,
    			CurrentTime:   c.config.time(),
    			Intermediates: x509.NewCertPool(),
    			KeyUsages:     []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
    		}
    
    		for _, cert := range certs[1:] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	// Must be absent/empty if TCPTransport.URL is prefixed with http://
    	// If absent while TCPTransport.URL is prefixed with https://, default to system trust roots.
    	// +optional
    	CABundle string `json:"caBundle,omitempty"`
    
    	// clientKey is the file location of the client key to be used in mtls handshakes with the konnectivity server.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    		_, err := certificate.Verify(x509.VerifyOptions{
    			KeyUsages: []x509.ExtKeyUsage{
    				x509.ExtKeyUsageClientAuth,
    			},
    			Roots: globalRootCAs,
    		})
    		if err != nil {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidClientCertificate, err)
    			return
    		}
    	} else {
    		// Technically, there is no security argument for verifying the key usage
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. src/runtime/chan.go

    	// Ensure the value being sent is kept alive until the
    	// receiver copies it out. The sudog has a pointer to the
    	// stack object, but sudogs aren't considered as roots of the
    	// stack tracer.
    	KeepAlive(ep)
    
    	// someone woke us up.
    	if mysg != gp.waiting {
    		throw("G waiting list is corrupted")
    	}
    	gp.waiting = nil
    	gp.activeStackChans = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go

    	Service *ServiceReference `json:"service,omitempty" protobuf:"bytes,1,opt,name=service"`
    
    	// caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.
    	// If unspecified, system trust roots on the apiserver are used.
    	// +optional
    	CABundle []byte `json:"caBundle,omitempty" protobuf:"bytes,2,opt,name=caBundle"`
    }
    
    // ServiceReference holds a reference to Service.legacy.k8s.io
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go

    	Service *ServiceReference `json:"service,omitempty" protobuf:"bytes,1,opt,name=service"`
    
    	// caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.
    	// If unspecified, system trust roots on the apiserver are used.
    	// +optional
    	CABundle []byte `json:"caBundle,omitempty" protobuf:"bytes,2,opt,name=caBundle"`
    }
    
    // ServiceReference holds a reference to Service.legacy.k8s.io
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/action.go

    		buildAction := a
    
    		a = b.cacheAction("install-shlib "+shlib, nil, func() *Action {
    			// Determine the eventual install target.
    			// The install target is root/pkg/shlib, where root is the source root
    			// in which all the packages lie.
    			// TODO(rsc): Perhaps this cross-root check should apply to the full
    			// transitive package dependency list, not just the ones named
    			// on the command line?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    		if _, ok := kept[cur]; ok {
    			g.Nodes = append(g.Nodes, cur)
    			continue
    		}
    
    		// If a node has no parents, then delete all of the in edges of its
    		// children to make them each roots of their own trees.
    		if len(cur.In) == 0 {
    			for _, outEdge := range cur.Out {
    				delete(outEdge.Dest.In, cur)
    			}
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      //
      // +optional
      optional ServiceReference service = 1;
    
      // caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.
      // If unspecified, system trust roots on the apiserver are used.
      // +optional
      optional bytes caBundle = 2;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top