- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 43 for Entrust (0.09 seconds)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* ``` * * 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 * is used to verify the signature of the "www.squareup.com" certificate. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 21.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
NVOFBkpdn627G190 -----END CERTIFICATE----- """.trimIndent().decodeCertificatePem() // CN=Entrust Root Certification Authority, OU="(c) 2006 Entrust, Inc.", OU=www.entrust.net/CPS is incorporated by reference, O="Entrust, Inc.", C=US val entrustRootCertificateAuthority = """ -----BEGIN CERTIFICATE----- MIIEkTCCA3mgAwIBAgIERWtQVDANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMCCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.8K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
AttributeTypeAndValue( type = organizationName, value = "Entrust, Inc.", ), ), listOf( AttributeTypeAndValue( type = ORGANIZATIONAL_UNIT_NAME, value = "www.entrust.net/CPS is incorporated by reference", ), ), listOf(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 43.9K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
"DigiCert", "Let's Encrypt", "ISRG", // Internet Security Research Group (Let's Encrypt parent) "GlobalSign", "Comodo", "Sectigo", "GeoTrust", "Entrust", ) assertThat(names).matchesPredicate { strings -> strings.any { name -> majorIssuers.any { issuer -> name.contains(issuer, ignoreCase = true) } } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 08:16:15 GMT 2026 - 7.5K bytes - Click Count (0) -
okhttp-tls/README.md
MockWebServer server = new MockWebServer(); server.useHttps(serverCertificates.sslSocketFactory(), false); ``` `HandshakeCertificates` also works for clients where its job is to define which root certificates to trust. In this simplified example we trust the server's self-signed certificate: ```java HandshakeCertificates clientCertificates = new HandshakeCertificates.Builder() .addTrustedCertificate(localhostCertificate.certificate()) .build();
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 9.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt
assertThat(actual).isNotNull() } private fun enableTls() { // Generate a self-signed cert for the server to serve and the client to trust. // can't use TlsUtil.localhost with a non OpenJSSE trust manager val heldCertificate = HeldCertificate .Builder() .commonName("localhost") .addSubjectAlternativeName("localhost") .build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.7K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
object TlsUtil { val password = "password".toCharArray() private val localhost: HandshakeCertificates by lazy { // Generate a self-signed cert for the server to serve and the client to trust. val heldCertificate = HeldCertificate .Builder() .commonName("localhost") .addSubjectAlternativeName("localhost") .addSubjectAlternativeName("localhost.localdomain")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (1) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
level: Int, t: Throwable?, ) { if (level == WARN) { Log.w(Tag, message, t) } else { Log.i(Tag, message, t) } } /** * A trust manager for Android applications that customize the trust manager. * * This class exploits knowledge of Android implementation details. This class is potentiallyCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 10 05:19:46 GMT 2025 - 6.5K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
import okhttp3.internal.toImmutableList import okhttp3.tls.internal.TlsUtil.newKeyManager import okhttp3.tls.internal.TlsUtil.newTrustManager /** * Certificates to identify which peers to trust and also to earn the trust of those peers in kind. * Client and server exchange these certificates during the handshake phase of a TLS connection. * * ### Server Authentication *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.4K bytes - Click Count (0)