Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for acceptedIssuers (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        BasicCertificateChainCleaner(buildTrustRootIndex(trustManager))
    
      open fun buildTrustRootIndex(trustManager: X509TrustManager): TrustRootIndex = BasicTrustRootIndex(*trustManager.acceptedIssuers)
    
      open fun newSslSocketFactory(trustManager: X509TrustManager): SSLSocketFactory {
        try {
          return newSSLContext().apply {
            init(null, arrayOf<TrustManager>(trustManager), null)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        enableTls()
    
        val certificatePinner =
          CertificatePinner.Builder()
            .add(
              server.hostName,
              CertificatePinner.pin(handshakeCertificates.trustManager.acceptedIssuers[0]),
            )
            .build()
        client = client.newBuilder().certificatePinner(certificatePinner).build()
    
        server.enqueue(MockResponse(body = "abc"))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top