HomeSort by relevance Sort by last modified time
    Searched refs:authType (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
TestTrustManager.java 65 private static void assertClientAuthType(String authType) {
66 if (!StandardNames.CLIENT_AUTH_TYPES.contains(authType)) {
67 throw new AssertionError("Unexpected client auth type " + authType);
71 private static void assertServerAuthType(String authType) {
72 if (!StandardNames.SERVER_AUTH_TYPES.contains(authType)) {
73 throw new AssertionError("Unexpected server auth type " + authType);
86 public void checkClientTrusted(X509Certificate[] chain, String authType)
90 + "authType=" + authType + " ");
92 assertClientAuthType(authType);
    [all...]
  /libcore/ojluni/src/main/java/javax/net/ssl/
X509ExtendedTrustManager.java 62 * used. For instance, if RSAPublicKey is used, the authType
81 * @param authType the key exchange algorithm used
87 * string is passed in for the <code>authType</code> parameter
97 String authType, Socket socket) throws CertificateException;
109 * the authType should be RSA_EXPORT when an ephemeral RSA key is
129 * @param authType the key exchange algorithm used
135 * string is passed in for the <code>authType</code> parameter
145 String authType, Socket socket) throws CertificateException;
153 * used. For instance, if RSAPublicKey is used, the authType
170 * @param authType the key exchange algorithm use
    [all...]
X509TrustManager.java 47 * used. For instance, if RSAPublicKey is used, the authType
51 * @param authType the authentication type based on the client certificate
54 * string is passed in for the authType parameter
58 public void checkClientTrusted(X509Certificate[] chain, String authType)
72 * the authType should be RSA_EXPORT when an ephemeral RSA key is
77 * @param authType the key exchange algorithm used
80 * string is passed in for the authType parameter
84 public void checkServerTrusted(X509Certificate[] chain, String authType)
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestTrustManager.java 72 public void checkClientTrusted(X509Certificate[] chain, String authType)
76 + "authType=" + authType + " ");
78 assertClientAuthType(authType);
79 trustManager.checkClientTrusted(chain, authType);
88 public void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket)
92 checkClientTrusted(chain, authType);
97 + "authType=" + authType + " "
100 assertClientAuthType(authType);
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
DummyTrustManager.java 30 public void checkClientTrusted(X509Certificate[] chain, String authType) {
35 public void checkServerTrusted(X509Certificate[] chain, String authType) {
  /libcore/ojluni/src/main/java/com/sun/net/ssl/internal/ssl/
X509ExtendedTrustManager.java 72 * used. For instance, if RSAPublicKey is used, the authType
81 * @param authType the authentication type based on the client certificate
86 * string is passed in for the authType parameter
91 String authType, String hostname, String algorithm)
110 * @param authType the key exchange algorithm used
115 * string is passed in for the authType parameter
120 String authType, String hostname, String algorithm)
  /frameworks/base/core/java/android/security/net/config/
RootTrustManager.java 51 public void checkClientTrusted(X509Certificate[] chain, String authType)
56 config.getTrustManager().checkClientTrusted(chain, authType);
60 public void checkClientTrusted(X509Certificate[] certs, String authType, Socket socket)
65 config.getTrustManager().checkClientTrusted(certs, authType, socket);
69 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine)
74 config.getTrustManager().checkClientTrusted(certs, authType, engine);
78 public void checkServerTrusted(X509Certificate[] certs, String authType, Socket socket)
88 config.getTrustManager().checkServerTrusted(certs, authType, socket);
91 checkServerTrusted(certs, authType);
96 public void checkServerTrusted(X509Certificate[] certs, String authType, SSLEngine engine
    [all...]
NetworkSecurityTrustManager.java 67 public void checkClientTrusted(X509Certificate[] chain, String authType)
69 mDelegate.checkClientTrusted(chain, authType);
73 public void checkClientTrusted(X509Certificate[] certs, String authType, Socket socket)
75 mDelegate.checkClientTrusted(certs, authType, socket);
79 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine)
81 mDelegate.checkClientTrusted(certs, authType, engine);
85 public void checkServerTrusted(X509Certificate[] certs, String authType)
87 checkServerTrusted(certs, authType, (String) null);
91 public void checkServerTrusted(X509Certificate[] certs, String authType, Socket socket)
94 mDelegate.getTrustedChainForServer(certs, authType, socket)
    [all...]
  /external/conscrypt/openjdk/src/main/java/org/conscrypt/
Java7PlatformUtil.java 44 static void checkClientTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
48 x509etm.checkClientTrusted(chain, authType, socket);
50 tm.checkClientTrusted(chain, authType);
54 static void checkServerTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
58 x509etm.checkServerTrusted(chain, authType, socket);
60 tm.checkServerTrusted(chain, authType);
64 static void checkClientTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
68 x509etm.checkClientTrusted(chain, authType, engine);
70 tm.checkClientTrusted(chain, authType);
74 static void checkServerTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
    [all...]
Platform.java 262 static void checkClientTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
265 Java7PlatformUtil.checkClientTrusted(tm, chain, authType, socket);
267 tm.checkClientTrusted(chain, authType);
272 static void checkServerTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
275 Java7PlatformUtil.checkServerTrusted(tm, chain, authType, socket);
277 tm.checkServerTrusted(chain, authType);
282 static void checkClientTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
285 Java7PlatformUtil.checkClientTrusted(tm, chain, authType, engine);
287 tm.checkClientTrusted(chain, authType);
292 static void checkServerTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/
CredentialType.java 52 public CredentialType(int authType, int credType) {
53 super(authType);
73 int authType = tunneled ? AuthParam.PARAM_TYPE_TUNNELED_EAP_METHOD_CREDENTIAL_TYPE
75 return new CredentialType(authType, credType);
ExpandedEAPMethod.java 42 public ExpandedEAPMethod(int authType, int vendorID, long vendorType) {
43 super(authType);
71 int authType = inner ? AuthParam.PARAM_TYPE_EXPANDED_INNER_EAP_METHOD
73 return new ExpandedEAPMethod(authType, vendorID, vendorType);
NonEAPInnerAuth.java 54 public NonEAPInnerAuth(int authType) {
56 mAuthType = authType;
71 int authType = payload.get() & 0xFF;
72 return new NonEAPInnerAuth(authType);
  /packages/apps/Nfc/src/com/android/nfc/
NfcWifiProtectedSetup.java 150 short authType = payload.getShort();
151 populateAllowedKeyManagement(result.allowedKeyManagement, authType);
175 private static void populateAllowedKeyManagement(BitSet allowedKeyManagement, short authType) {
176 if (authType == AUTH_TYPE_WPA_PSK || authType == AUTH_TYPE_WPA2_PSK) {
178 } else if (authType == AUTH_TYPE_WPA_EAP || authType == AUTH_TYPE_WPA2_EAP) {
180 } else if (authType == AUTH_TYPE_OPEN) {
  /external/conscrypt/platform/src/main/java/org/conscrypt/
Platform.java 174 X509Certificate[] chain, String authType, Class<?> argumentClass,
180 method.invoke(tm, chain, authType, argumentInstance);
192 static void checkClientTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
196 x509etm.checkClientTrusted(chain, authType, socket);
197 } else if (!checkTrusted("checkClientTrusted", tm, chain, authType, Socket.class, socket)
198 && !checkTrusted("checkClientTrusted", tm, chain, authType, String.class,
200 tm.checkClientTrusted(chain, authType);
204 static void checkServerTrusted(X509TrustManager tm, X509Certificate[] chain, String authType,
208 x509etm.checkServerTrusted(chain, authType, socket);
209 } else if (!checkTrusted("checkServerTrusted", tm, chain, authType, Socket.class, socket
    [all...]
TrustManagerImpl.java 264 public void checkClientTrusted(X509Certificate[] chain, String authType)
266 checkTrusted(chain, authType, null, null, true /* client auth */);
272 public List<X509Certificate> checkClientTrusted(X509Certificate[] chain, String authType,
274 return checkTrusted(chain, null /* ocspData */, null /* tlsSctData */, authType, hostname,
288 public void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket)
297 checkTrusted(chain, authType, session, parameters, true /* client auth */);
301 public void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine)
307 checkTrusted(chain, authType, session, engine.getSSLParameters(), true /* client auth */);
311 public void checkServerTrusted(X509Certificate[] chain, String authType)
313 checkTrusted(chain, authType, null, null, false /* client auth */)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/http/
X509TrustManagerExtensionsTest.java 34 public void checkClientTrusted(X509Certificate[] chain, String authType) {}
36 public void checkServerTrusted(X509Certificate[] chain, String authType) {}
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
OsuServerConnection.java 156 public void checkClientTrusted(X509Certificate[] chain, String authType)
159 Log.v(TAG, "checkClientTrusted " + authType);
164 public void checkServerTrusted(X509Certificate[] chain, String authType)
167 Log.v(TAG, "checkServerTrusted " + authType);
172 mServerCerts = mDelegate.getTrustedChainForServer(chain, authType,
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiApConfigStore.java 201 int authType = in.readInt();
202 config.allowedKeyManagement.set(authType);
203 if (authType != KeyMgmt.NONE) {
232 int authType = config.getAuthType();
233 out.writeInt(authType);
234 if (authType != KeyMgmt.NONE) {
355 int authType;
358 authType = apConfig.getAuthType();
360 Log.d(TAG, "Unable to get AuthType for softap config: " + e.getMessage());
364 if (authType == KeyMgmt.NONE)
    [all...]
  /frameworks/base/core/java/android/net/http/
X509TrustManagerExtensions.java 90 * description of the chain and authType parameters. The final parameter, host, should be the
96 public List<X509Certificate> checkServerTrusted(X509Certificate[] chain, String authType,
99 return mDelegate.checkServerTrusted(chain, authType, host);
103 authType, host);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
HandshakeCompletedEventTest.java 561 private String authType;
563 public void checkClientTrusted(X509Certificate[] chain, String authType) {
565 this.authType = authType;
568 public void checkServerTrusted(X509Certificate[] chain, String authType) {
570 this.authType = authType;
582 return authType;
586 java.security.cert.X509Certificate[] chain, String authType)
592 java.security.cert.X509Certificate[] chain, String authType)
    [all...]
  /external/apache-http/android/src/android/net/http/
CertificateChainValidator.java 143 * @param authType The authentication type for the cert chain
147 byte[][] certChain, String domain, String authType)
166 return verifyServerDomainAndCertificates(serverCertificates, domain, authType);
206 * @param authType The authentication type for the cert chain
210 X509Certificate[] chain, String domain, String authType)
238 method.invoke(x509TrustManager, chain, authType, domain);
240 x509TrustManager.checkServerTrusted(chain, authType);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
ApnSetting.java 66 public final int authType;
157 String user, String password, int authType, String[] types,
173 this.authType = authType;
203 String user, String password, int authType, String[] types,
209 authType, types, protocol, roamingProtocol, carrierEnabled, networkTypeBitmask,
217 String user, String password, int authType, String[] types,
233 this.authType = authType;
261 apn.mmsPort, apn.user, apn.password, apn.authType, apn.types, apn.protocol
    [all...]
  /external/conscrypt/android/src/main/java/org/conscrypt/
Platform.java 366 X509Certificate[] chain, String authType, Class<?> argumentClass,
372 method.invoke(tm, chain, authType, argumentInstance);
387 String authType, AbstractConscryptSocket socket) throws CertificateException {
388 if (!checkTrusted("checkClientTrusted", tm, chain, authType, Socket.class, socket)
389 && !checkTrusted("checkClientTrusted", tm, chain, authType, String.class,
391 tm.checkClientTrusted(chain, authType);
397 String authType, AbstractConscryptSocket socket) throws CertificateException {
398 if (!checkTrusted("checkServerTrusted", tm, chain, authType, Socket.class, socket)
399 && !checkTrusted("checkServerTrusted", tm, chain, authType, String.class,
401 tm.checkServerTrusted(chain, authType);
    [all...]
  /frameworks/base/telephony/java/android/telephony/data/
DataProfile.java 75 public DataProfile(int profileId, String apn, String protocol, int authType,
84 if (authType == -1) {
85 authType = TextUtils.isEmpty(userName) ? RILConstants.SETUP_DATA_AUTH_NONE
88 this.mAuthType = authType;

Completed in 1172 milliseconds

1 2 3 4 5