Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for san (0.03 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. security/pkg/server/ca/server_test.go

    		"Empty cert chain": {
    			certChain: [][]*x509.Certificate{},
    			caller:    nil,
    			ipAddr:    mockIPAddr,
    			code:      codes.Unauthenticated,
    		},
    		// certificate misses the SAN field
    		"Certificate has no SAN": {
    			certChain: [][]*x509.Certificate{
    				{
    					{
    						Version: 1,
    					},
    				},
    			},
    			ipAddr: mockIPAddr,
    			code:   codes.Unauthenticated,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_tls.go

    	}
    }
    
    // buildIstioMutualTLS returns a `TLSSettings` for ISTIO_MUTUAL mode.
    func (cb *ClusterBuilder) buildIstioMutualTLS(san []string, sni string) *networking.ClientTLSSettings {
    	return &networking.ClientTLSSettings{
    		Mode:            networking.ClientTLSSettings_ISTIO_MUTUAL,
    		SubjectAltNames: san,
    		Sni:             sni,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. pilot/pkg/security/model/authentication.go

    			ConstructSdsSecretConfigForCredential(tlsOpts.CredentialName, credentialSocketExist),
    		}
    	}
    
    	// If the InsecureSkipVerify is true, there is no need to configure CA Cert and SAN.
    	if tlsOpts.GetInsecureSkipVerify().GetValue() {
    		return
    	}
    
    	// create SDS config for gateway to fetch certificate validation context
    	// at gateway agent.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top