Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for san (0.02 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

            .build()
        assert200Http2Response(execute(url), server.hostName)
        val sanUrl = url.newBuilder().host("san.com").build()
        dns["san.com"] =
          Arrays.asList(
            InetAddress.getByAddress("san.com", byteArrayOf(0, 0, 0, 0)),
            serverIps[0],
          )
        assert200Http2Response(execute(sanUrl), "san.com")
        assertThat(client.connectionPool.connectionCount()).isEqualTo(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)
  2. pkg/apis/certificates/v1beta1/defaults_test.go

    			exp:    false,
    		},
    		"does not default to kubelet-serving if it specifies a URI SAN": {
    			req:    newCSR(kubeletServerPEMOptions, pemOptions{uris: []string{"http://something"}}),
    			usages: kubeletServerUsages,
    			exp:    false,
    		},
    		"does not default to kubelet-serving if it specifies an emailAddress SAN": {
    			req:    newCSR(kubeletServerPEMOptions, pemOptions{emailAddresses: []string{"something"}}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  3. 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)
  4. security/pkg/pki/util/generate_cert_test.go

    	ttl := time.Hour
    	cases := map[string]struct {
    		certOptions  CertOptions
    		verifyFields *VerifyFields
    	}{
    		// These certs are signed by the CA cert
    		"RSA: Server cert with DNS SAN": {
    			certOptions: CertOptions{
    				Host:         "test_server.com",
    				NotBefore:    notBefore,
    				TTL:          ttl,
    				SignerCert:   rsaCaCert,
    				SignerPriv:   rsaCaPriv,
    				Org:          "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations_test.go

    	tests := []struct {
    		name            string
    		serverCert      []byte
    		counterIncrease bool
    	}{
    		{
    			name:            "no SAN",
    			serverCert:      serverCertNoSAN,
    			counterIncrease: true,
    		},
    		{
    			name:       "with SAN",
    			serverCert: serverCert,
    		},
    	}
    
    	// register the test metrics
    	x509MissingSANCounter := metrics.NewCounter(&metrics.CounterOpts{Name: "Test_checkForHostnameError"})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  6. 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)
  7. cmd/kubeadm/app/util/config/common.go

    }
    
    // LowercaseSANs can be used to force all SANs to be lowercase so it passes IsDNS1123Subdomain
    func LowercaseSANs(sans []string) {
    	for i, san := range sans {
    		lowercase := strings.ToLower(san)
    		if lowercase != san {
    			klog.V(1).Infof("lowercasing SAN %q to %q", san, lowercase)
    			sans[i] = lowercase
    		}
    	}
    }
    
    // VerifyAPIServerBindAddress can be used to verify if a bind address for the API Server is 0.0.0.0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. security/pkg/pki/util/keycertbundle_test.go

    		expectedErr   string
    	}{
    		"No SAN RSA": {
    			caCertFile:    rootCertFile,
    			caKeyFile:     rootKeyFile,
    			certChainFile: nil,
    			rootCertFile:  rootCertFile,
    			certOptions: &CertOptions{
    				Host:       "test_ca.com",
    				TTL:        time.Hour,
    				Org:        "MyOrg",
    				IsCA:       true,
    				RSAKeySize: 2048,
    			},
    			expectedErr: "failed to extract id the SAN extension does not exist",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      public void testComposition() {
        Map<String, Integer> mJapaneseToInteger = Maps.newHashMap();
        mJapaneseToInteger.put("Ichi", 1);
        mJapaneseToInteger.put("Ni", 2);
        mJapaneseToInteger.put("San", 3);
        Function<String, Integer> japaneseToInteger = Functions.forMap(mJapaneseToInteger);
    
        Map<Integer, String> mIntegerToSpanish = Maps.newHashMap();
        mIntegerToSpanish.put(1, "Uno");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. 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)
Back to top