jdk/src/java.base/share/classes/sun/security/ssl/X509TrustManagerImpl.java
changeset 31538 0981099a3e54
parent 30904 ec0224270f90
child 32032 22badc53802f
equal deleted inserted replaced
31537:704fd18b5be1 31538:0981099a3e54
    92         serverValidator = v;
    92         serverValidator = v;
    93         showTrustedCerts();
    93         showTrustedCerts();
    94     }
    94     }
    95 
    95 
    96     @Override
    96     @Override
    97     public void checkClientTrusted(X509Certificate chain[], String authType)
    97     public void checkClientTrusted(X509Certificate[] chain, String authType)
    98             throws CertificateException {
    98             throws CertificateException {
    99         checkTrusted(chain, authType, (Socket)null, true);
    99         checkTrusted(chain, authType, (Socket)null, true);
   100     }
   100     }
   101 
   101 
   102     @Override
   102     @Override
   103     public void checkServerTrusted(X509Certificate chain[], String authType)
   103     public void checkServerTrusted(X509Certificate[] chain, String authType)
   104             throws CertificateException {
   104             throws CertificateException {
   105         checkTrusted(chain, authType, (Socket)null, false);
   105         checkTrusted(chain, authType, (Socket)null, false);
   106     }
   106     }
   107 
   107 
   108     @Override
   108     @Override