Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetCombinedValidationContext (0.44 sec)

  1. pilot/pkg/networking/core/listener_waypoint.go

    	ctx := &tls.CommonTlsContext{}
    	security.ApplyToCommonTLSContext(ctx, proxy, nil, "", nil, true)
    	aliases := authn.TrustDomainsForValidation(push.Mesh)
    	validationCtx := ctx.GetCombinedValidationContext().DefaultValidationContext
    	if len(aliases) > 0 {
    		matchers := util.StringToPrefixMatch(security.AppendURIPrefixToTrustDomain(aliases))
    		for _, matcher := range matchers {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. pilot/pkg/xds/eds_test.go

    	}
    	transport := &tls.UpstreamTlsContext{}
    	ads.GetEdsClusters()["outbound|80||test1"].GetTransportSocketMatches()[0].GetTransportSocket().GetTypedConfig().UnmarshalTo(transport)
    	sans := transport.GetCommonTlsContext().GetCombinedValidationContext().GetDefaultValidationContext().GetMatchSubjectAltNames() //nolint: staticcheck
    	if len(sans) != 1 {
    		t.Fatalf("expected 1 san, got %v", sans)
    	}
    }
    
    func TestEds(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top