Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 86 for san (0.02 sec)

  1. docs/vi/docs/python-types.md

        Tương tự như kiểu dữ liệu, `List` bạn import từ `typing`.
    
        Như danh sách là một kiểu dữ liệu chứa các kiểu dữ liệu có sẵn, bạn đặt chúng bên trong dấu ngoặc vuông:
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/python_types/tutorial006.py!}
        ```
    
    !!! info
        Các kiểu dữ liệu có sẵn bên trong dấu ngoặc vuông được gọi là "tham số kiểu dữ liệu".
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. security/pkg/pki/ca/ca_test.go

    		}
    		san := util.ExtractSANExtension(cert.Extensions)
    		if san == nil {
    			t.Errorf("%s: No SAN extension is found in the certificate", id)
    		}
    		expected, err := util.BuildSubjectAltNameExtension(subjectID)
    		if err != nil {
    			t.Errorf("%s: BuildSubjectAltNameExtension error: %v", id, err)
    		}
    		if !reflect.DeepEqual(expected, san) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/common/deployment/external.go

    			ClientCert: file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/cert-chain.pem")),
    			Key:        file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/key.pem")),
    			// Override hostname to match the SAN in the cert we are using
    			// TODO(nmittler): We should probably make this the same as ExternalHostname
    			Hostname: "server.default.svc",
    		},
    		Subsets: []echo.SubsetConfig{
    			{
    				Version:     "v1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. tests/integration/security/ca_custom_root/trust_domain_alias_secure_naming_test.go

    //
    //	certificate for server workloads to give them different trust domains.
    //
    // 2. One client workload with sidecar injected.
    // 3. Two naked server workloads with custom certs whose URI SAN have different SPIFFE trust domains.
    // 4. PeerAuthentication with strict mtls, to enforce the mtls connection.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. pkg/test/echo/server/forwarder/config.go

    				fwLog.Errorf("Failed to parse client certificate: %v", err)
    			}
    			fwLog.Debugf("Using client certificate [%s] issued by %s", cert.SerialNumber, cert.Issuer)
    			for _, uri := range cert.URIs {
    				fwLog.Debugf("  URI SAN: %s", uri)
    			}
    		}
    		// nolint: unparam
    		return func(info *tls.CertificateRequestInfo) (*tls.Certificate, error) {
    			fwLog.Debugf("Peer asking for client certificate")
    			for i, ca := range info.AcceptableCAs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. src/crypto/x509/verify.go

    		if len(c.IPAddresses) == 0 {
    			return "x509: cannot validate certificate for " + h.Host + " because it doesn't contain any IP SANs"
    		}
    		for _, san := range c.IPAddresses {
    			if len(valid) > 0 {
    				valid += ", "
    			}
    			valid += san.String()
    		}
    	} else {
    		valid = strings.Join(c.DNSNames, ", ")
    	}
    
    	if len(valid) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. src/crypto/x509/name_constraints_test.go

    		expectedError: "incompatible key usage",
    	},
    
    	// An invalid DNS SAN should be detected only at validation time so
    	// that we can process CA certificates in the wild that have invalid SANs.
    	// See https://github.com/golang/go/issues/23995
    
    	// #77: an invalid DNS or mail SAN will not be detected if name constraint
    	// checking is not triggered.
    	{
    		roots: make([]constraintsSpec, 1),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. src/crypto/x509/parser.go

    		return errors.New("x509: invalid subject alternative names")
    	}
    	for !der.Empty() {
    		var san cryptobyte.String
    		var tag cryptobyte_asn1.Tag
    		if !der.ReadAnyASN1(&san, &tag) {
    			return errors.New("x509: invalid subject alternative name")
    		}
    		if err := callback(int(tag^0x80), san); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    	if len(cfg.AltNames.IPs) != 1 || cfg.AltNames.IPs[0].String() != expectedConfig.AltNames.IPs[0].String() {
    		t.Errorf("expected SAN IPs %v, got %v", expectedConfig.AltNames.IPs, cfg.AltNames.IPs)
    	}
    
    	if len(cfg.AltNames.DNSNames) != 1 || cfg.AltNames.DNSNames[0] != expectedConfig.AltNames.DNSNames[0] {
    		t.Errorf("expected SAN DNSNames %v, got %v", expectedConfig.AltNames.DNSNames, cfg.AltNames.DNSNames)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. security/pkg/nodeagent/caclient/providers/citadel/client.go

    	if c.tlsOpts != nil {
    		return &istiogrpc.TLSOptions{
    			RootCert:      c.tlsOpts.RootCert,
    			Key:           c.tlsOpts.Key,
    			Cert:          c.tlsOpts.Cert,
    			ServerAddress: c.opts.CAEndpoint,
    			SAN:           c.opts.CAEndpointSAN,
    		}
    	}
    	return nil
    }
    
    func (c *CitadelClient) buildConnection() (*grpc.ClientConn, error) {
    	tlsOpts := c.getTLSOptions()
    	opts, err := istiogrpc.ClientOptions(nil, tlsOpts)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top