Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for KeyManager (0.07 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

      @get:JvmName("keyManager") val keyManager: X509KeyManager,
      @get:JvmName("trustManager") val trustManager: X509TrustManager,
    ) {
      @JvmName("-deprecated_keyManager")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "keyManager"),
        level = DeprecationLevel.ERROR,
      )
      fun keyManager(): X509KeyManager = keyManager
    
      @JvmName("-deprecated_trustManager")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        keyManagerFactory.init(KeyStoreBuilderParameters(builderList))
        val keyManager = keyManagerFactory.keyManagers[0] as X509ExtendedKeyManager
    
        val trustManager = Platform.get().platformTrustManager()
    
        val sslContext = SSLContext.getInstance("TLS")
        sslContext.init(arrayOf(keyManager), arrayOf(trustManager), SecureRandom())
    
        val client =
          OkHttpClient.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .heldCertificate(certificate, intermediate.certificate)
            .build()
        assertPrivateKeysEquals(
          certificate.keyPair.private,
          handshakeCertificates.keyManager.getPrivateKey("private"),
        )
        assertThat(handshakeCertificates.keyManager.getCertificateChain("private").toList())
          .isEqualTo(listOf(certificate.certificate, intermediate.certificate))
      }
    
      @Test fun platformTrustedCertificates() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. okhttp-tls/api/okhttp-tls.api

    	public final fun -deprecated_trustManager ()Ljavax/net/ssl/X509TrustManager;
    	public synthetic fun <init> (Ljavax/net/ssl/X509KeyManager;Ljavax/net/ssl/X509TrustManager;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public final fun keyManager ()Ljavax/net/ssl/X509KeyManager;
    	public final fun sslContext ()Ljavax/net/ssl/SSLContext;
    	public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;
    	public final fun trustManager ()Ljavax/net/ssl/X509TrustManager;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top