Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 615 for chain (0.04 sec)

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

    		}
    		// Build the actual chain
    		chains := lb.inboundChainForOpts(cc, mtls, opts)
    
    		if cc.bindToPort {
    			// If this config is for bindToPort, we want to actually create a real Listener.
    			listeners = append(listeners, lb.inboundCustomListener(cc, chains))
    		} else {
    			// Otherwise, just append the filter chain to the virtual inbound chains.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

       *                     -> phonyVictim
       * ```
       *
       * But this chain is wrong because the attackerSwitch certificate is being used in a CA role even
       * though it is not a CA certificate. There are pinned certificates in the chain! The correct
       * chain is much shorter because it skips the non-CA certificate.
       *
       * ```
       *   attackerCa
       *     -> attackerIntermediate
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. src/crypto/x509/verify.go

    	}
    
    	return chains, nil
    }
    
    func appendToFreshChain(chain []*Certificate, cert *Certificate) []*Certificate {
    	n := make([]*Certificate, len(chain)+1)
    	copy(n, chain)
    	n[len(chain)] = cert
    	return n
    }
    
    // alreadyInChain checks whether a candidate certificate is present in a chain.
    // Rather than doing a direct byte for byte equivalency check, we check if the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        val connection = AtomicReference<Connection?>()
        client =
          client.newBuilder()
            .addNetworkInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
                connection.set(chain!!.connection())
                chain.proceed(chain.request())
              },
            )
            .build()
        dns["san.com"] = Dns.SYSTEM.lookup(server.hostName).subList(0, 1)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. security/pkg/pki/util/keycertbundle_test.go

    			}
    
    			chain = bundle.GetCertChainPem()
    			if len(chain) != 0 {
    				t.Errorf("%s: certChainBytes should be empty", id)
    			}
    
    			root = bundle.GetRootCertPem()
    			if len(root) == 0 {
    				t.Errorf("%s: rootCertBytes should not be empty", id)
    			}
    
    			x509Cert, privKey, chain, root := bundle.GetAll()
    			if x509Cert != nil {
    				t.Errorf("%s: cert should be nil", id)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. pilot/pkg/xds/lds_test.go

    				chain = fc
    			}
    		}
    		if chain == nil {
    			t.Fatalf("Failed to find http_connection_manager")
    		}
    		if len(chain.Filters) != 1 {
    			t.Fatalf("Expected 1 filter in first filter chain, got %d", len(l.FilterChains))
    		}
    		filter := chain.Filters[0]
    		if filter.Name != wellknown.HTTPConnectionManager {
    			t.Fatalf("Expected HTTP connection, found %v", chain.Filters[0].Name)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/capture/run.go

    		if cfg.cfg.InboundInterceptionMode == constants.TPROXY {
    			// When using TPROXY, create a new chain for routing all inbound traffic to
    			// Envoy. Any packet entering this chain gets marked with the ${INBOUND_TPROXY_MARK} mark,
    			// so that they get routed to the loopback interface in order to get redirected to Envoy.
    			// In the ISTIOINBOUND chain, '-j ISTIODIVERT' reroutes to the loopback
    			// interface.
    			// Mark all inbound packets.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. src/crypto/tls/ticket.go

    	b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
    		for _, chain := range s.verifiedChains {
    			b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
    				// We elide the first certificate because it's always the leaf.
    				if len(chain) == 0 {
    					b.SetError(errors.New("tls: internal error: empty verified chain"))
    					return
    				}
    				for _, cert := range chain[1:] {
    					b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val call = chain.call()
        val cacheCandidate = cache?.get(chain.request().requestForCache())
    
        val now = System.currentTimeMillis()
    
        val strategy = CacheStrategy.Factory(now, chain.request(), cacheCandidate).compute()
        val networkRequest = strategy.networkRequest
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. security/pkg/pki/ca/ca_test.go

    			if !bytes.Equal(cert, rootCert) {
    				t.Error("Root cert and cert do not match")
    			}
    			// self signed certs do not contain cert chain
    			if len(certChain) > 0 {
    				t.Error("Cert chain should not exist")
    			}
    			rootCertCh <- rootCert
    			privateKeyCh <- privateKey
    		}()
    	}
    	wg.Wait()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top