Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 531 for certv1 (0.33 sec)

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

        }
    
        // Should not be pinned:
        certificatePinner.check("uk", listOf(certB1.certificate))
        certificatePinner.check("co.uk", listOf(certB1.certificate))
        certificatePinner.check("anotherexample.co.uk", listOf(certB1.certificate))
        certificatePinner.check("foo.anotherexample.co.uk", listOf(certB1.certificate))
      }
    
      @Test
      fun testBadPin() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

        val pin = Pin("example.com", certA1Sha256Pin)
        assertTrue(pin.matchesCertificate(certA1.certificate))
        assertFalse(pin.matchesCertificate(certB1.certificate))
      }
    
      @Test fun testMatchesSha1() {
        val pin = Pin("example.com", certC1Sha1Pin)
        assertTrue(pin.matchesCertificate(certC1.certificate))
        assertFalse(pin.matchesCertificate(certB1.certificate))
      }
    
      @Test fun pinList() {
        val builder =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

          )
        assertThat(cleaner.clean(list(certB, certA), "hostname")).isEqualTo(
          list(certB, certA, trusted, selfSigned),
        )
        assertThat(cleaner.clean(list(certB, certA, trusted), "hostname")).isEqualTo(
          list(certB, certA, trusted, selfSigned),
        )
        assertThat(cleaner.clean(list(certB, certA, trusted, selfSigned), "hostname"))
          .isEqualTo(
            list(certB, certA, trusted, selfSigned),
          )
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/certs.go

    	for _, cert := range info.Certificates {
    		if cert.Missing {
    			s := fmt.Sprintf("!MISSING! %s\t\t\t\t", cert.Name)
    			fmt.Fprintln(tabw, s)
    			continue
    		}
    
    		s := fmt.Sprintf("%s\t%s\t%s\t%s\t%-8v",
    			cert.Name,
    			cert.ExpirationDate.Format("Jan 02, 2006 15:04 MST"),
    			duration.HumanDuration(time.Duration(cert.ResidualTimeSeconds)*time.Second),
    			cert.CAName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. pilot/pkg/trustbundle/trustbundle_test.go

    func TestIsEqSpliceStr(t *testing.T) {
    	testCases := []struct {
    		certs1  []string
    		certs2  []string
    		expSame bool
    	}{
    		{
    			certs1:  []string{"a", "b"},
    			certs2:  []string{},
    			expSame: false,
    		},
    		{
    			certs1:  []string{"a", "b"},
    			certs2:  []string{"b"},
    			expSame: false,
    		},
    		{
    			certs1:  []string{"a", "b"},
    			certs2:  []string{"a", "b"},
    			expSame: true,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. internal/http/server_test.go

    	"net/http"
    	"reflect"
    	"testing"
    
    	"github.com/minio/pkg/v3/certs"
    )
    
    func TestNewServer(t *testing.T) {
    	nonLoopBackIP := getNonLoopBackIP(t)
    	handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		fmt.Fprintf(w, "Hello, world")
    	})
    
    	testCases := []struct {
    		addrs   []string
    		handler http.Handler
    		certFn  certs.GetCertificateFunc
    	}{
    		{[]string{"127.0.0.1:9000"}, handler, nil},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inject/hello-mount-mtls-certs.yaml.injected

              name: workload-certs
            - mountPath: /var/run/secrets/istio
              name: istiod-ca-cert
            - mountPath: /var/lib/istio/data
              name: istio-data
            - mountPath: /etc/istio/proxy
              name: istio-envoy
            - mountPath: /var/run/secrets/tokens
              name: istio-token
            - mountPath: /etc/certs/
              name: istio-certs
              readOnly: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/cluster.go

    	cert := certs[0]
    
    	// gets the node name from the certificate common name
    	return strings.TrimPrefix(cert.Subject.CommonName, constants.NodesUserPrefix), nil
    }
    
    func getAPIEndpoint(client clientset.Interface, nodeName string, apiEndpoint *kubeadmapi.APIEndpoint) error {
    	return getAPIEndpointWithRetry(client, nodeName, apiEndpoint,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. tests/integration/security/egress_gateway_origination_test.go

    				PrivateKey:  file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/dns/key.pem")),
    				CaCert:      file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/dns/root-cert.pem")),
    				Crl:         file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/ca.crl")),
    			}, false)
    
    			// Configured with dummy CRL
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. security/pkg/pki/util/crypto_test.go

    	certBytes := []byte(certECDSA)
    	certBytes = AppendCertByte(certBytes, []byte(certRSA))
    	result := PemCertBytestoString(certBytes)
    	cert1 := strings.TrimSuffix(strings.TrimPrefix(certECDSA, "\n"), "\n")
    	cert2 := strings.TrimSuffix(strings.TrimPrefix(certRSA, "\n"), "\n")
    	if !reflect.DeepEqual(result, []string{cert1, cert2}) {
    		t.Errorf("Basic comparison fails!")
    	}
    
    	// check only first string passed if second is bogus
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top