Lines Matching refs:expectedName
88 public void match(String expectedName, X509Certificate cert)
90 if (isIpAddress(expectedName)) {
91 matchIP(expectedName, cert);
93 matchDNS(expectedName, cert);
100 public static boolean match(String expectedName, Principal principal) {
102 return (expectedName.equalsIgnoreCase(hostName));
174 private void matchDNS(String expectedName, X509Certificate cert)
183 if (isMatched(expectedName, dnsName)) {
192 + "name matching " + expectedName + " found.");
200 if (isMatched(expectedName, derValue.getAsString())) {
207 String msg = "No name matching " + expectedName + " found";