fun checkServerTrusted(chain: Array<out X509Certificate>, authType: String, socket: Socket?): Unit
fun checkServerTrusted(chain: Array<out X509Certificate>, authType: String, engine: SSLEngine?): Unit
fun checkServerTrusted(chain: Array<out X509Certificate>, authType: String): Unit