Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 312 for chains (0.2 sec)

  1. security/pkg/server/ca/server_test.go

    			certChain:    nil,
    			caller:       nil,
    			fakeAuthInfo: &mockAuthInfo{"not-tls"},
    			ipAddr:       mockIPAddr,
    			code:         codes.Unauthenticated,
    		},
    		// no cert chain presented
    		"Empty cert chain": {
    			certChain: [][]*x509.Certificate{},
    			caller:    nil,
    			ipAddr:    mockIPAddr,
    			code:      codes.Unauthenticated,
    		},
    		// certificate misses the SAN field
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. pkg/istio-agent/agent_test.go

    }
    
    func copyCerts(t *testing.T, dir string) {
    	if err := os.MkdirAll(dir, 0o755); err != nil {
    		t.Fatal(err)
    	}
    	if err := file.Copy(filepath.Join(env.IstioSrc, "./tests/testdata/certs/pilot/cert-chain.pem"), dir, "cert-chain.pem"); err != nil {
    		t.Fatal(err)
    	}
    	if err := file.Copy(filepath.Join(env.IstioSrc, "./tests/testdata/certs/pilot/key.pem"), dir, "key.pem"); err != nil {
    		t.Fatal(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/leaderelection_test.go

    		})
    	}
    }
    
    func alreadyHit(cur instance, chain []instance) bool {
    	for _, cc := range chain {
    		if cur == cc {
    			return true
    		}
    	}
    	return false
    }
    
    func checkCycles(t *testing.T, start instance, cases []instance, chain []instance) {
    	if alreadyHit(start, chain) {
    		t.Fatalf("cycle on leader election: cur %v, chain %v", start, chain)
    	}
    	for _, nextHop := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/cache/secretcache_test.go

    			keyPath:      "./testdata/cert-chain.pem",
    			expectResult: false,
    		},
    		"key not exist": {
    			certPath:     "./testdata/cert-chain.pem",
    			keyPath:      "./invalid-path/invalid-file",
    			expectResult: false,
    		},
    		"key and cert valid": {
    			certPath:     "./testdata/cert-chain.pem",
    			keyPath:      "./testdata/cert-chain.pem",
    			expectResult: true,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

              connectionPool = connectionPool,
              readTimeoutMillis = client.readTimeoutMillis,
              writeTimeoutMillis = client.writeTimeoutMillis,
              socketConnectTimeoutMillis = chain.connectTimeoutMillis,
              socketReadTimeoutMillis = chain.readTimeoutMillis,
              pingIntervalMillis = client.pingIntervalMillis,
              retryOnConnectionFailure = client.retryOnConnectionFailure,
              fastFallback = client.fastFallback,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                ready.countDown()
                try {
                  proceed.await(5, TimeUnit.SECONDS)
                } catch (e: InterruptedException) {
                  throw RuntimeException(e)
                }
                chain.proceed(chain.request())
              },
            )
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

     */
    class RetryAndFollowUpInterceptor(private val client: OkHttpClient) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        var request = chain.request
        val call = realChain.call
        var followUpCount = 0
        var priorResponse: Response? = null
        var newRoutePlanner = true
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. security/pkg/pki/ca/ca.go

    	// CACertFile is the CA certificate chain file.
    	CACertFile = "ca-cert.pem"
    	// CAPrivateKeyFile is the private key file of CA.
    	CAPrivateKeyFile = "ca-key.pem"
    	// CASecret stores the key/cert of self-signed CA for persistency purpose.
    	CASecret = "istio-ca-secret"
    	// CertChainFile is the ID/name for the certificate chain file.
    	CertChainFile = "cert-chain.pem"
    	// PrivateKeyFile is the ID/name for the private key file.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        val interceptedCount = AtomicInteger()
        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                assertThat(chain.request().body).isNull()
                val response = chain.proceed(chain.request())
                assertThat(response.header("Connection")).isEqualTo("Upgrade")
                assertThat(response.body).isInstanceOf<UnreadableResponseBody>()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. tests/integration/security/file_mounted_certs/main_test.go

    	ProxyMetadataJSON = `
    	{
          "FILE_MOUNTED_CERTS": "true",
          "ISTIO_META_TLS_CLIENT_CERT_CHAIN": "/client-certs/cert-chain.pem",
          "ISTIO_META_TLS_CLIENT_KEY": "/client-certs/key.pem",
          "ISTIO_META_TLS_CLIENT_ROOT_CERT": "/client-certs/root-cert.pem",
          "ISTIO_META_TLS_SERVER_CERT_CHAIN": "/server-certs/cert-chain.pem",
          "ISTIO_META_TLS_SERVER_KEY": "/server-certs/key.pem",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top