Searched refs:authType (Results 1 - 10 of 10) sorted by relevance

/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/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/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DTrustManagerImpl.java180 @Override public void checkClientTrusted(X509Certificate[] chain, String authType) argument
182 checkTrusted(chain, authType, null);
185 @Override public void checkServerTrusted(X509Certificate[] chain, String authType) argument
187 checkTrusted(chain, authType, null);
195 public List<X509Certificate> checkServerTrusted(X509Certificate[] chain, String authType, argument
197 return checkTrusted(chain, authType, host);
208 private List<X509Certificate> checkTrusted(X509Certificate[] chain, String authType, String host) argument
210 if (chain == null || chain.length == 0 || authType == null || authType.length() == 0) {
H A DDigitalSignature.java71 public DigitalSignature(String authType) { argument
75 if ("RSA".equals(authType)) {
79 } else if ("DSA".equals(authType)) {
H A DClientHandshakeImpl.java504 String authType = clientKey.getAlgorithm();
505 DigitalSignature ds = new DigitalSignature(authType);
508 if ("RSA".equals(authType)) {
511 } else if ("DSA".equals(authType)) {
514 // } else if ("DH".equals(authType)) {
527 String authType = session.cipherSuite.getAuthType(serverKeyExchange != null);
528 if (authType == null) {
542 tm.checkServerTrusted(serverCert.certs, authType, hostname);
544 x509tm.checkServerTrusted(serverCert.certs, authType);
H A DServerHandshakeImpl.java144 String authType = clientCert.getAuthType();
147 clientCert.certs, authType);
170 String authType = clientCert.getAuthType();
171 DigitalSignature ds = new DigitalSignature(authType);
176 if ("RSA".equals(authType)) {
179 } else if ("DSA".equals(authType)) {
182 // } else if ("DH".equals(authType)) {
503 DigitalSignature ds = new DigitalSignature(cipher_suite.authType);
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
H A DOpenSSLSocketImpl.java589 String authType = peerCertificateChain[0].getPublicKey().getAlgorithm();
591 authType);
/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.java2396 public void checkClientTrusted(X509Certificate[] chain, String authType) argument
2398 calls.add("checkClientTrusted " + certificatesToString(chain) + " " + authType);
2401 public void checkServerTrusted(X509Certificate[] chain, String authType) argument
2403 calls.add("checkServerTrusted " + certificatesToString(chain) + " " + authType);

Completed in 1061 milliseconds