public final class SelfTrustManager extends Object
| 构造器和说明 |
|---|
SelfTrustManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
static TrustManager[] |
trustManager(boolean needAuth,
String trustCertPath)
Returns the result of calling
buildSecureTrustManager(java.lang.String) if needAuth is enable and trustCertPath exists. |
public static TrustManager[] trustManager(boolean needAuth, String trustCertPath)
buildSecureTrustManager(java.lang.String) if needAuth is enable and trustCertPath exists. Returns the trustAll otherwise.needAuth - whether need client authtrustCertPath - trust certificate pathTrustManagerCopyright © 2018–2020 Alibaba Group. All rights reserved.