public class SSLConfig extends Object
| 构造器和说明 |
|---|
SSLConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SSLConfig |
custom() |
SSLConfig |
customSSL(String keyStorePath,
String keyStorepass) |
static SSLConfig |
getInstance() |
org.apache.http.conn.ssl.SSLConnectionSocketFactory |
getSSLCONNSF(SSLProtocolVersion sslpv) |
SSLContext |
getSSLContext(SSLProtocolVersion sslpv) |
org.apache.http.nio.conn.ssl.SSLIOSessionStrategy |
getSSLIOSS(SSLProtocolVersion sslpv) |
SSLSocketFactory |
getSSLSF(SSLProtocolVersion sslpv) |
static HostnameVerifier |
getVerifier() |
public static SSLConfig getInstance()
public static SSLConfig custom()
public static HostnameVerifier getVerifier()
public SSLSocketFactory getSSLSF(SSLProtocolVersion sslpv) throws ZiyiException
ZiyiExceptionpublic org.apache.http.conn.ssl.SSLConnectionSocketFactory getSSLCONNSF(SSLProtocolVersion sslpv) throws ZiyiException
ZiyiExceptionpublic org.apache.http.nio.conn.ssl.SSLIOSessionStrategy getSSLIOSS(SSLProtocolVersion sslpv) throws ZiyiException
ZiyiExceptionpublic SSLConfig customSSL(String keyStorePath, String keyStorepass) throws ZiyiException
ZiyiExceptionpublic SSLContext getSSLContext(SSLProtocolVersion sslpv) throws ZiyiException
ZiyiExceptionCopyright © 2022. All rights reserved.