Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 287 for mert (0.15 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

              Log.d("SniOverrideTest", s)
              try {
                val cert = session.peerCertificates[0] as X509Certificate
                for (name in cert.subjectAlternativeNames) {
                  if (name[0] as Int == 2) {
                    Log.d("SniOverrideTest", "cert: " + name[1])
                  }
                }
                true
              } catch (e: Exception) {
                false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. internal/config/certs.go

    // to decrypt the TLS private key. It must be set if the TLS private key is
    // password protected.
    const EnvCertPassword = "MINIO_CERT_PASSWD"
    
    // ParsePublicCertFile - parses public cert into its *x509.Certificate equivalent.
    func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) {
    	// Read certificate file.
    	var data []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. helm/minio/templates/post-job.yaml

                          path: secrets-svc/{{ tpl .existingSecret $ }}/{{ tpl .existingSecretKey $ }}
                  {{- end }}
                  {{- end }}
            {{- if .Values.tls.enabled }}
            - name: cert-secret-volume-mc
              secret:
                secretName: {{ .Values.tls.certSecret }}
                items:
                  - key: {{ .Values.tls.publicCrt }}
                    path: CAs/public.crt
            {{- end }}
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jul 08 19:18:31 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

     * limitations under the License.
     */
    package okhttp3.internal.tls
    
    import java.security.GeneralSecurityException
    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    import java.util.ArrayDeque
    import java.util.Deque
    import javax.net.ssl.SSLPeerUnverifiedException
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. 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. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

     */
    package okhttp3.internal.platform.android
    
    import android.net.http.X509TrustManagerExtensions
    import java.lang.IllegalArgumentException
    import java.security.cert.Certificate
    import java.security.cert.CertificateException
    import java.security.cert.X509Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.X509TrustManager
    import okhttp3.internal.SuppressSignatureCheck
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. internal/event/target/nats_tls_contrib_test.go

    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnTLSClientAuthorization(t *testing.T) {
    	s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls_client_cert.conf"))
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. LICENSE

       4. Redistribution. You may reproduce and distribute copies of the
          Work or Derivative Works thereof in any medium, with or without
          modifications, and in Source or Object form, provided that You
          meet the following conditions:
    
          (a) You must give any other recipients of the Work or
              Derivative Works a copy of this License; and
    
          (b) You must cause any modified files to carry prominent notices
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Jan 23 11:07:23 GMT 2024
    - 23.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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top