Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setKeyEntry (0.11 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

        if (heldCertificate != null) {
          val chain = arrayOfNulls<Certificate>(1 + intermediates.size)
          chain[0] = heldCertificate.certificate
          intermediates.copyInto(chain, 1)
          keyStore.setKeyEntry("private", heldCertificate.keyPair.private, password, chain)
        }
    
        val factory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm())
        factory.init(keyStore, password)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        vararg intermediates: X509Certificate,
      ): SSLSocketFactory {
        // Test setup fails on JDK9
        // java.security.KeyStoreException: Certificate chain is not valid
        // at sun.security.pkcs12.PKCS12KeyStore.setKeyEntry
        // http://openjdk.java.net/jeps/229
        // http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/2c1c21d11e58/src/share/classes/sun/security/pkcs12/PKCS12KeyStore.java#l596
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top