jdk/src/java.base/share/classes/sun/security/provider/certpath/ForwardBuilder.java
changeset 32649 2ee9017c7597
parent 29264 5172066a2da6
child 33820 be91931ea4b2
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   431      *
   431      *
   432      * 6) Any other certificates
   432      * 6) Any other certificates
   433      */
   433      */
   434     static class PKIXCertComparator implements Comparator<X509Certificate> {
   434     static class PKIXCertComparator implements Comparator<X509Certificate> {
   435 
   435 
   436         final static String METHOD_NME = "PKIXCertComparator.compare()";
   436         static final String METHOD_NME = "PKIXCertComparator.compare()";
   437 
   437 
   438         private final Set<X500Principal> trustedSubjectDNs;
   438         private final Set<X500Principal> trustedSubjectDNs;
   439 
   439 
   440         PKIXCertComparator(Set<X500Principal> trustedSubjectDNs) {
   440         PKIXCertComparator(Set<X500Principal> trustedSubjectDNs) {
   441             this.trustedSubjectDNs = trustedSubjectDNs;
   441             this.trustedSubjectDNs = trustedSubjectDNs;