Lines Matching refs:chain
67 public void checkClientTrusted(X509Certificate[] chain, String authType)
69 mDelegate.checkClientTrusted(chain, authType);
118 private void checkPins(List<X509Certificate> chain) throws CertificateException {
122 || !isPinningEnforced(chain)) {
128 for (int i = chain.size() - 1; i >= 0 ; i--) {
129 X509Certificate cert = chain.get(i);
151 private boolean isPinningEnforced(List<X509Certificate> chain) throws CertificateException {
152 if (chain.isEmpty()) {
155 X509Certificate anchorCert = chain.get(chain.size() - 1);
159 throw new CertificateException("Trusted chain does not end in a TrustAnchor");