Searched defs:authType (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/javax/net/ssl/
H A DX509TrustManager.java36 * @param authType
45 public void checkClientTrusted(X509Certificate[] chain, String authType) argument
56 * @param authType
65 public void checkServerTrusted(X509Certificate[] chain, String authType) argument
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestTrustManager.java59 public void checkClientTrusted(X509Certificate[] chain, String authType) argument
63 + "authType=" + authType + " ");
65 assertClientAuthType(authType);
66 trustManager.checkClientTrusted(chain, authType);
74 private void assertClientAuthType(String authType) { argument
75 if (!StandardNames.CLIENT_AUTH_TYPES.contains(authType)) {
76 throw new AssertionError("Unexpected client auth type " + authType);
80 public void checkServerTrusted(X509Certificate[] chain, String authType) argument
84 + "authType
95 assertServerAuthType(String authType) argument
[all...]
/libcore/crypto/src/main/java/org/conscrypt/
H A DTrustManagerImpl.java185 @Override public void checkClientTrusted(X509Certificate[] chain, String authType) argument
187 checkTrusted(chain, authType, null, true);
190 @Override public void checkServerTrusted(X509Certificate[] chain, String authType) argument
192 checkTrusted(chain, authType, null, false);
200 public List<X509Certificate> checkServerTrusted(X509Certificate[] chain, String authType, argument
202 return checkTrusted(chain, authType, host, false);
213 private List<X509Certificate> checkTrusted(X509Certificate[] chain, String authType, argument
216 if (chain == null || chain.length == 0 || authType == null || authType.length() == 0) {
H A DCipherSuite.java46 final String authType; field in class:CipherSuite
854 String authType, String cipherName, String hash, byte[] code) {
857 this.authType = authType;
853 CipherSuite(String name, boolean isExportable, int keyExchange, String authType, String cipherName, String hash, byte[] code) argument
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DHandshakeCompletedEventTest.java563 private String authType; field in class:HandshakeCompletedEventTest.TestTrustManager
565 public void checkClientTrusted(X509Certificate[] chain, String authType) { argument
567 this.authType = authType;
570 public void checkServerTrusted(X509Certificate[] chain, String authType) { argument
572 this.authType = authType;
584 return authType;
588 java.security.cert.X509Certificate[] chain, String authType)
594 java.security.cert.X509Certificate[] chain, String authType)
587 checkClientTrusted( java.security.cert.X509Certificate[] chain, String authType) argument
593 checkServerTrusted( java.security.cert.X509Certificate[] chain, String authType) argument
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java2464 public void checkClientTrusted(X509Certificate[] chain, String authType) argument
2466 calls.add("checkClientTrusted " + certificatesToString(chain) + " " + authType);
2469 public void checkServerTrusted(X509Certificate[] chain, String authType) argument
2471 calls.add("checkServerTrusted " + certificatesToString(chain) + " " + authType);

Completed in 635 milliseconds