Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for fruits (0.18 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

    import okhttp3.mockwebserver.MockWebServer;
    import okhttp3.tls.HandshakeCertificates;
    import okhttp3.tls.HeldCertificate;
    
    /**
     * Create an HTTPS server with a self-signed certificate that OkHttp trusts.
     */
    public class HttpsServer {
      public void run() throws Exception {
        HeldCertificate localhostCertificate = new HeldCertificate.Builder()
            .addSubjectAlternativeName("localhost")
            .build();
    
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 02 14:04:37 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. docs/features/https.md

    and increase connectivity with web servers.
    
    ### Certificate Pinning ([.kt][CertificatePinningKotlin], [.java][CertificatePinningJava])
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

          .build()
      }
    
      /** Returns an SSL client for this host's localhost address. */
      @JvmStatic
      fun localhost(): HandshakeCertificates = localhost
    
      /** Returns a trust manager that trusts `trustedCertificates`. */
      @JvmStatic @IgnoreJRERequirement
      fun newTrustManager(
        keyStoreType: String?,
        trustedCertificates: List<X509Certificate>,
        insecureHosts: List<String>,
      ): X509TrustManager {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. okhttp-tls/README.md

    OkHttpClient client = new OkHttpClient.Builder()
        .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager())
        .build();
    ```
    
    With a server that holds a certificate and a client that trusts it we have enough for an HTTPS
    handshake. The best part of this example is that we don't need to make our test code insecure with a
    a fake `HostnameVerifier` or `X509TrustManager`.
    
    Certificate Authorities
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
  5. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    rehab
    
    // reise : 2014-03-13 Binky Moon, LLC
    reise
    
    // reisen : 2014-03-06 Binky Moon, LLC
    reisen
    
    // reit : 2014-09-04 National Association of Real Estate Investment Trusts, Inc.
    reit
    
    // reliance : 2015-04-02 Reliance Industries Limited
    reliance
    
    // ren : 2013-12-12 ZDNS International Limited
    ren
    
    // rent : 2014-12-04 XYZ.COM LLC
    rent
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  6. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2C16          ; mapped                 ; 2C46          # 4.1  GLAGOLITIC CAPITAL LETTER UKU
    2C17          ; mapped                 ; 2C47          # 4.1  GLAGOLITIC CAPITAL LETTER FRITU
    2C18          ; mapped                 ; 2C48          # 4.1  GLAGOLITIC CAPITAL LETTER HERU
    2C19          ; mapped                 ; 2C49          # 4.1  GLAGOLITIC CAPITAL LETTER OTU
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     * Self-signed Signature: 799f1d96c6b6793f228d87d3870304606a6b9a2e59897311ac43d1f513ff8d392bc0f...
     * ```
     *
     * In this example the HTTP client already knows and trusts the last certificate, "Entrust Root
     * Certification Authority - G2". That certificate is used to verify the signature of the
     * intermediate certificate, "Entrust Certification Authority - L1M". The intermediate certificate
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  8. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

        SSLContext sslContext = SSLContext.getInstance("TLS");
        sslContext.init(null, new TrustManager[] { trustManager }, null);
    
        return sslContext.getSocketFactory();
      }
    
      /** Returns a trust manager that trusts the VM's default certificate authorities. */
      private X509TrustManager defaultTrustManager() throws GeneralSecurityException {
        TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Viewed (0)
Back to top