Lines Matching defs:authType
175 public void checkClientTrusted(X509Certificate[] chain, String authType)
185 trustManager.checkClientTrusted(chain, authType);
189 verifyAcceptedCertificates(chain, authType);
195 verifyAcceptedCertificates(chain, authType);
201 manageException(chain, authType, ce, Cause.NOT_TRUSTED);
208 verifyHostName(chain, authType);
212 manageException(chain, authType, ce, Cause.HOST_NAME_MISMATCH);
219 String authType) throws CertificateException
228 trustManager.checkServerTrusted(chain, authType);
232 verifyAcceptedCertificates(chain, authType);
238 verifyAcceptedCertificates(chain, authType);
244 manageException(chain, authType, ce, Cause.NOT_TRUSTED);
251 verifyHostName(chain, authType);
255 manageException(chain, authType, ce, Cause.HOST_NAME_MISMATCH);
261 final String authType, final CertificateException ce, final Cause cause)
265 lastRefusedAuthType = authType;
283 * @param authType the authentication type.
286 public void acceptCertificate(X509Certificate[] chain, String authType,
290 acceptedAuthTypes.add(authType);
340 * Verifies whether the provided chain and authType have been already accepted
343 * @param authType the authentication type.
348 String authType) throws CertificateException
353 if (authType.equals(acceptedAuthTypes.get(i)))
377 private void verifyHostName(X509Certificate[] chain, String authType)