[6.4.0] remove log and add trace
This commit is contained in:
@@ -251,7 +251,7 @@ class MoGoAdasMsgConnectStatusListenerImpl :
|
||||
*/
|
||||
override fun onCertification(status: AdasConstants.CertificationStatus) {
|
||||
if (status == AdasConstants.CertificationStatus.TIMEOUT) {
|
||||
certificationResult = ":证书认证超时"
|
||||
certificationResult = "证书认证超时"
|
||||
CallerLogger.d(
|
||||
"$M_D_C$TAG",
|
||||
"域控证书认证超时(表示域控未发送BasicInfoReq接口的数据【这种情况可能是连接出现了问题】)"
|
||||
@@ -259,25 +259,25 @@ class MoGoAdasMsgConnectStatusListenerImpl :
|
||||
} else {
|
||||
if (status != AdasConstants.CertificationStatus.NOT_ENABLED) {
|
||||
if (status == AdasConstants.CertificationStatus.CERTIFICATE_CHAIN_SUCCESS) {
|
||||
certificationResult = ":成功校验域控证书"
|
||||
certificationResult = "成功校验域控证书"
|
||||
CallerLogger.d(
|
||||
"$M_D_C$TAG",
|
||||
"成功校验域控证书"
|
||||
)
|
||||
} else if (status == AdasConstants.CertificationStatus.ROOT_CRT_ERROR) {
|
||||
certificationResult = ":获取ROOT证书异常"
|
||||
certificationResult = "获取ROOT证书异常"
|
||||
CallerLogger.d(
|
||||
"$M_D_C$TAG",
|
||||
"ROOT证书异常(表示未传递证书,没有拿到ROOT证书)"
|
||||
)
|
||||
} else if (status == AdasConstants.CertificationStatus.IPC_CRT_ERROR) {
|
||||
certificationResult = ":获取域控证书异常"
|
||||
certificationResult = "获取域控证书异常"
|
||||
CallerLogger.d(
|
||||
"$M_D_C$TAG",
|
||||
"域控证书异常(表示域控发送了BasicInfoReq接口的数据但是未传递证书或证书解码失败【失败的可能性很低】)"
|
||||
)
|
||||
} else if (status == AdasConstants.CertificationStatus.CERTIFICATE_CHAIN_FAILED) {
|
||||
certificationResult = ":域控证书校验失败"
|
||||
certificationResult = "域控证书校验失败"
|
||||
CallerLogger.d(
|
||||
"$M_D_C$TAG",
|
||||
"域控证书链校验失败(表示证书链未验证通过。证书不匹配、证书格式不正确)"
|
||||
|
||||
Reference in New Issue
Block a user