perform the check . concode_field_sep byte checkType concode_elem_sep byte TYPE_TLS concode_elem_sep byte TYPE_LDAP concode_elem_sep int ALTNAME_IP concode_elem_sep int ALTNAME_DNS concode_elem_sep HostnameChecker INSTANCE_LDAP concode_elem_sep HostnameChecker INSTANCE_TLS concode_field_sep boolean isIpAddress concode_elem_sep void matchIP concode_elem_sep X500Name getSubjectX500Name concode_elem_sep boolean isMatched concode_elem_sep boolean matchLeftmostWildcard concode_elem_sep void matchDNS concode_elem_sep boolean matchAllWildcards concode_elem_sep HostnameChecker getInstance concode_elem_sep String getServerName concode_elem_sep boolean matchWildCards
void function ( String arg0 , X509Certificate arg1 ) { if ( isIpAddress ( arg0 ) ) { matchIP ( arg0 , arg1 ) ; } else { matchDNS ( arg0 , arg1 ) ; } }