类 SelfTrustManager
java.lang.Object
com.alibaba.nacos.common.tls.SelfTrustManager
A TrustManager tool returns the specified TrustManager.
- 作者:
- wangwei
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static TrustManager[]trustManager(boolean needAuth, String trustCertPath)Returns the result of callingbuildSecureTrustManager(java.lang.String)ifneedAuthis enable andtrustCertPathexists.
-
构造器详细资料
-
SelfTrustManager
public SelfTrustManager()
-
-
方法详细资料
-
trustManager
Returns the result of callingbuildSecureTrustManager(java.lang.String)ifneedAuthis enable andtrustCertPathexists. Returns thetrustAllotherwise.- 参数:
needAuth- whether need client authtrustCertPath- trust certificate path- 返回:
- Array of
TrustManager
-