returns true if certificate matches ipaddress . concode_field_sep int ALT_IPA_NAME concode_elem_sep int ALT_DNS_NAME concode_elem_sep OkHostnameVerifier INSTANCE concode_field_sep boolean verifyHostname concode_elem_sep boolean verifyHostname concode_elem_sep List<String> allSubjectAltNames concode_elem_sep List<String> getSubjectAltNames concode_elem_sep boolean verify concode_elem_sep boolean verify
boolean function ( String arg0 , X509Certificate arg1 ) { List < String > loc0 = getSubjectAltNames ( arg1 , ALT_IPA_NAME ) ; for ( int loc1 = 0 , loc2 = loc0 . loc2 ( ) ; loc1 < loc2 ; loc1 ++ ) { if ( arg0 . equalsIgnoreCase ( loc0 . get ( loc1 ) ) ) { return true ; } } return false ; }