Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 356 for cert (0.04 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

    import okhttp3.Protocol;
    import okhttp3.Request;
    import okhttp3.Response;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    import java.io.IOException;
    import java.security.cert.Certificate;
    import java.security.cert.X509Certificate;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    /**
     * Simple test adaptable to show a failure in older versions of OkHttp
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. helm/minio/templates/post-job.yaml

                  mountPath: /tmp
                - name: minio-configuration
                  mountPath: /config
                {{- if .Values.tls.enabled }}
                - name: cert-secret-volume-mc
                  mountPath: {{ .Values.configPathmc }}certs
                {{- end }}
              resources: {{- toYaml .Values.makePolicyJob.resources | nindent 12 }}
          {{- end }}
          containers:
            {{- if .Values.buckets }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. helm/minio/templates/_helpers.tpl

    {{/*
    Formats volumeMount for MinIO TLS keys and trusted certs
    */}}
    {{- define "minio.tlsKeysVolumeMount" -}}
    {{- if .Values.tls.enabled }}
    - name: cert-secret-volume
      mountPath: {{ .Values.certsPath }}
    {{- end }}
    {{- if or .Values.tls.enabled (ne .Values.trustedCertsSecret "") }}
    {{- $casPath := printf "%s/CAs" .Values.certsPath | clean }}
    - name: trusted-cert-secret-volume
      mountPath: {{ $casPath }}
    {{- end }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal
    
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import java.security.cert.Certificate
    import java.security.cert.CertificateException
    import java.security.cert.X509Certificate
    import javax.net.ssl.X509TrustManager
    
    /** This extends [X509TrustManager] for Android to disable verification for a set of hosts. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

    import androidx.test.ext.junit.runners.AndroidJUnit4;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.security.cert.Certificate;
    import java.security.cert.CertificateException;
    import java.security.cert.CertificateFactory;
    import java.security.cert.X509Certificate;
    
    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import okhttp3.Response;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Nov 17 07:40:31 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

     * limitations under the License.
     */
    package okhttp.android.test.letsencrypt
    
    import android.os.Build
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.security.cert.X509Certificate
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.decodeCertificatePem
    import org.junit.jupiter.api.Tag
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

        }
        this.subjectToCaCerts = map
      }
    
      override fun findByIssuerAndSignature(cert: X509Certificate): X509Certificate? {
        val issuer = cert.issuerX500Principal
        val subjectCaCerts = subjectToCaCerts[issuer] ?: return null
    
        return subjectCaCerts.firstOrNull {
          try {
            cert.verify(it.publicKey)
            return@firstOrNull true
          } catch (_: Exception) {
            return@firstOrNull false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. internal/config/etcd/help.go

    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         ClientCert,
    			Description: `client cert for mTLS authentication` + defaultHelpPostfix(ClientCert),
    			Optional:    true,
    			Type:        "path",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         ClientCertKey,
    			Description: `client cert key for mTLS authentication` + defaultHelpPostfix(ClientCertKey),
    			Optional:    true,
    			Type:        "path",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 27 03:11:37 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal
    
    import java.io.InputStream
    import java.security.KeyStore
    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    import javax.net.ssl.KeyManagerFactory
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509ExtendedTrustManager
    import javax.net.ssl.X509KeyManager
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. internal/config/certs_test.go

    	}
    
    	for _, testCase := range testCases {
    		certs, err := ParsePublicCertFile(testCase.certFile)
    		if !testCase.expectedErr && err != nil {
    			t.Fatalf("error: expected = <nil>, got = %v", err)
    		}
    		if testCase.expectedErr && err == nil {
    			t.Fatal("error: expected err, got = <nil>")
    		}
    		if len(certs) != testCase.expectedResultLen {
    			t.Fatalf("certs: expected = %v, got = %v", testCase.expectedResultLen, len(certs))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
Back to top