Searched refs:dns (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DGeneralName.java355 String dns = (String) name;
357 if (dns.equalsIgnoreCase(_dns)) {
360 return _dns.toLowerCase(Locale.US).endsWith("." + dns.toLowerCase(Locale.US));
561 public static void checkDNS(String dns) throws IOException { argument
562 String string = dns.toLowerCase(Locale.US);
570 throw new IOException("DNS name must start with a letter: " + dns);
577 throw new IOException("Incorrect DNS name: " + dns);
583 throw new IOException("Incorrect DNS name: label ends with '-': " + dns);
/libcore/support/src/test/java/tests/resources/x509/
H A Dcreate.sh54 openssl req -config ${DIR}/default.cnf -new -key ${DIR}/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions alt_dns_cert -req -signkey ${DIR}/privkey.pem -outform d > ${DIR}/cert-alt-dns.der

Completed in 87 milliseconds