- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 411 for TLS (0.23 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.tls import java.security.cert.CertificateParsingException import java.security.cert.X509Certificate import java.util.Locale import javax.net.ssl.HostnameVerifier import javax.net.ssl.SSLException
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.6K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
"com.squareup.okhttp3", "com.squareup.okhttp3.brotli", "com.squareup.okhttp3.dnsoverhttps", "com.squareup.okhttp3.logging", "com.squareup.okhttp3.sse", "com.squareup.okhttp3.tls", "com.squareup.okhttp3.urlconnection", ) /** Equinox must also be on the testing classpath. */ private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi"
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
// for version differences override fun newSSLContext(): SSLContext = // supports TLSv1.3 by default (version api is >= 1.4.0) SSLContext.getInstance("TLS", provider) override fun platformTrustManager(): X509TrustManager { val trustManagers = TrustManagerFactory .getInstance(TrustManagerFactory.getDefaultAlgorithm()) .apply {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/zh/docs/deployment/concepts.md
## 安全性 - HTTPS 在[上一章有关 HTTPS](https.md){.internal-link target=_blank} 中,我们了解了 HTTPS 如何为您的 API 提供加密。 我们还看到,HTTPS 通常由应用程序服务器的**外部**组件(**TLS 终止代理**)提供。 并且必须有某个东西负责**更新 HTTPS 证书**,它可以是相同的组件,也可以是不同的组件。 ### HTTPS 示例工具 您可以用作 TLS 终止代理的一些工具包括: * Traefik * 自动处理证书更新 ✨ * Caddy * 自动处理证书更新 ✨ * Nginx * 使用 Certbot 等外部组件进行证书更新 * HAProxy * 使用 Certbot 等外部组件进行证书更新Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 16.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
* certificates. */ private SSLSocketFactory defaultSslSocketFactory(X509TrustManager trustManager) throws NoSuchAlgorithmException, KeyManagementException { 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. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0) -
cmd/sts-errors.go
HTTPStatusCode: http.StatusBadRequest, }, ErrSTSInsecureConnection: { Code: "InsecureConnection", Description: "The request was made over a plain HTTP connection. A TLS connection is required.", HTTPStatusCode: http.StatusBadRequest, }, ErrSTSInvalidClientCertificate: { Code: "InvalidClientCertificate",Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 05 00:29:41 UTC 2025 - 6K bytes - Viewed (1) -
regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java
import java.security.cert.CertificateFactory; import java.security.cert.X509Certificate; import okhttp3.OkHttpClient; import okhttp3.Protocol; import okhttp3.Request; import okhttp3.Response; import okhttp3.tls.HandshakeCertificates; import org.junit.Test; import org.junit.runner.RunWith; import javax.net.ssl.SSLHandshakeException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 17 07:40:31 UTC 2020 - 6.1K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); trustManagerFactory.init(keystore); SSLContext sslContext = SSLContext.getInstance("TLS"); sslContext.init( keyManagerFactory.getKeyManagers(), trustManagerFactory.getTrustManagers(), new SecureRandom()); return sslContext; }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
docs/zh/docs/deployment/docker.md
### 负载均衡器 使用容器时,通常会有一些组件**监听主端口**。 它可能是处理 **HTTPS** 的 **TLS 终止代理** 或一些类似的工具的另一个容器。 由于该组件将接受请求的**负载**并(希望)以**平衡**的方式在worker之间分配该请求,因此它通常也称为**负载均衡器**。 /// tip 用于 HTTPS **TLS 终止代理** 的相同组件也可能是 **负载均衡器**。 /// 当使用容器时,你用来启动和管理容器的同一系统已经具有内部工具来传输来自该**负载均衡器**(也可以是**TLS 终止代理**) 的**网络通信**(例如HTTP请求)到你的应用程序容器。 ### 一个负载均衡器 - 多个worker容器
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 31.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls.internal.der import java.net.ProtocolException /** * Handles basic types that always use the same tag. This supports optional types and may set a type * hint for further adapters to process. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0)