Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BuildInboundTLS (0.14 sec)

  1. pilot/pkg/security/authn/utils/utils.go

    	"ECDHE-RSA-AES256-GCM-SHA384",
    	"ECDHE-ECDSA-AES128-GCM-SHA256",
    	"ECDHE-RSA-AES128-GCM-SHA256",
    	"AES256-GCM-SHA384",
    	"AES128-GCM-SHA256",
    }
    
    // BuildInboundTLS returns the TLS context corresponding to the mTLS mode.
    func BuildInboundTLS(mTLSMode model.MutualTLSMode, node *model.Proxy,
    	protocol networking.ListenerProtocol, trustDomainAliases []string, minTLSVersion tls.TlsParameters_TlsProtocol,
    	mc *meshconfig.MeshConfig,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. pilot/pkg/security/authn/utils/utils_test.go

    		tt := &tests[i]
    		t.Run(tt.name, func(t *testing.T) {
    			testNode := &model.Proxy{
    				Labels: map[string]string{
    					"app": "foo",
    				},
    				Metadata: &model.NodeMetadata{},
    			}
    
    			got := BuildInboundTLS(model.MTLSStrict, testNode, networking.ListenerProtocolTCP, []string{}, tls.TlsParameters_TLSv1_2, &tt.mesh)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 10 20:24:43 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. pilot/pkg/security/authn/policy_applier.go

    	return MTLSSettings{
    		Port: endpointPort,
    		Mode: effectiveMTLSMode,
    		TCP: authn_utils.BuildInboundTLS(effectiveMTLSMode, node, networking.ListenerProtocolTCP,
    			trustDomainAliases, minTLSVersion, mc),
    		HTTP: authn_utils.BuildInboundTLS(effectiveMTLSMode, node, networking.ListenerProtocolHTTP,
    			trustDomainAliases, minTLSVersion, mc),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top