public class HttpSslSupplierDefault extends Object implements HttpSslSupplier
| Constructor and Description |
|---|
HttpSslSupplierDefault() |
| Modifier and Type | Method and Description |
|---|---|
protected SSLContext |
getAnySslContext() |
protected SSLContext |
getDefSslContext()
获取默认ssl上下文
|
HostnameVerifier |
getHostnameVerifier()
获取域名的核对机
|
static HttpSslSupplier |
getInstance() |
SSLSocketFactory |
getSocketFactory()
获取证书套接字工厂
|
SSLContext |
getSslContext()
获取证书上下文
|
X509TrustManager |
getX509TrustManager()
获取信任管理器
|
public static HttpSslSupplier getInstance()
protected SSLContext getDefSslContext()
protected SSLContext getAnySslContext()
public SSLContext getSslContext()
HttpSslSuppliergetSslContext in interface HttpSslSupplierpublic SSLSocketFactory getSocketFactory()
HttpSslSuppliergetSocketFactory in interface HttpSslSupplierpublic HostnameVerifier getHostnameVerifier()
HttpSslSuppliergetHostnameVerifier in interface HttpSslSupplierpublic X509TrustManager getX509TrustManager()
HttpSslSuppliergetX509TrustManager in interface HttpSslSupplierCopyright © 2025. All rights reserved.