Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 658 for certv1 (0.12 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. tests/integration/security/util/cert/cert.go

    	return CreateCustomCASecret(ctx,
    		"ca-cert.pem", "ca-key.pem",
    		"cert-chain.pem", "root-cert.pem")
    }
    
    // CreateCASecretAlt creates a k8s secret "cacerts" to store the CA key and cert using an alternative set of certs.
    func CreateCASecretAlt(ctx resource.Context) error {
    	return CreateCustomCASecret(ctx,
    		"ca-cert-alt.pem", "ca-key-alt.pem",
    		"cert-chain-alt.pem", "root-cert-alt.pem")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 16:44:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. 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)
  7. pilot/pkg/config/kube/gateway/testdata/reference-policy-tls.yaml.golden

    spec:
      servers:
      - hosts:
        - cert/cert1.domain.example
        port:
          name: default
          number: 443
          protocol: HTTPS
        tls:
          credentialName: kubernetes-gateway://cert/cert
          mode: SIMPLE
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      annotations:
        internal.istio.io/parents: HTTPRoute/http.cert
        internal.istio.io/route-semantics: gateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top