Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for san (0.03 sec)

  1. pilot/pkg/serviceregistry/kube/conversion_test.go

    	pod.Namespace = ns
    	pod.Spec.ServiceAccountName = sa
    
    	mesh := &meshconfig.MeshConfig{TrustDomain: "td.local"}
    
    	san := SecureNamingSAN(pod, mesh)
    
    	expectedSAN := fmt.Sprintf("spiffe://td.local/ns/%v/sa/%v", ns, sa)
    
    	if san != expectedSAN {
    		t.Fatalf("SAN match failed, SAN:%v  expectedSAN:%v", san, expectedSAN)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/vi/docs/index.md

      <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a>
    </p>
    <p align="center">
        FastAPI framework, hiệu năng cao, dễ học, dễ code, sẵn sàng để tạo ra sản phẩm
    </p>
    <p align="center">
    <a href="https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster" target="_blank">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. pkg/spiffe/spiffe.go

    		}
    	}
    	return out
    }
    
    // GetTrustDomainFromURISAN extracts the trust domain part from the URI SAN in the X.509 certificate.
    func GetTrustDomainFromURISAN(uriSan string) (string, error) {
    	parsed, err := ParseIdentity(uriSan)
    	if err != nil {
    		return "", fmt.Errorf("failed to parse URI SAN %s. Error: %v", uriSan, err)
    	}
    	return parsed.TrustDomain, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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. pkg/security/security.go

    // Client interface defines the clients need to implement to talk to CA for CSR.
    // The Agent will create a key pair and a CSR, and use an implementation of this
    // interface to get back a signed certificate. There is no guarantee that the SAN
    // in the request will be returned - server may replace it.
    type Client interface {
    	CSRSign(csrPEM []byte, certValidTTLInSec int64) ([]string, error)
    	Close()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top