jdk/src/java.base/share/classes/sun/security/ssl/ClientHandshaker.java
changeset 29390 9927a5ff3ded
parent 29266 5705356edc61
child 29918 3ac7231c0f1a
equal deleted inserted replaced
29389:348a32f79d79 29390:9927a5ff3ded
  1567     }
  1567     }
  1568 
  1568 
  1569     /*
  1569     /*
  1570      * Returns the subject alternative name of the specified type in the
  1570      * Returns the subject alternative name of the specified type in the
  1571      * subjectAltNames extension of a certificate.
  1571      * subjectAltNames extension of a certificate.
       
  1572      *
       
  1573      * Note that only those subjectAltName types that use String data
       
  1574      * should be passed into this function.
  1572      */
  1575      */
  1573     private static Collection<String> getSubjectAltNames(
  1576     private static Collection<String> getSubjectAltNames(
  1574             Collection<List<?>> subjectAltNames, int type) {
  1577             Collection<List<?>> subjectAltNames, int type) {
  1575 
  1578 
  1576         HashSet<String> subAltDnsNames = null;
  1579         HashSet<String> subAltDnsNames = null;