Home
last modified time | relevance | path

Searched refs:authenticator (Results 1 – 25 of 45) sorted by relevance

12

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DAddress.java42 final Authenticator authenticator; field in Address
53 CertificatePinner certificatePinner, Authenticator authenticator, Proxy proxy, in Address() argument
67 if (authenticator == null) throw new IllegalArgumentException("authenticator == null"); in Address()
68 this.authenticator = authenticator; in Address()
126 return authenticator; in getAuthenticator()
177 && this.authenticator.equals(that.authenticator) in equals()
193 result = 31 * result + authenticator.hashCode(); in hashCode()
DOkHttpClient.java138 private Authenticator authenticator; field in OkHttpClient
169 this.authenticator = okHttpClient.authenticator; in OkHttpClient()
390 public OkHttpClient setAuthenticator(Authenticator authenticator) { in setAuthenticator() argument
391 this.authenticator = authenticator; in setAuthenticator()
396 return authenticator; in getAuthenticator()
599 if (result.authenticator == null) { in copyWithDefaults()
600 result.authenticator = AuthenticatorAdapter.INSTANCE; in copyWithDefaults()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DAddress.java44 final Authenticator authenticator; field in Address
55 CertificatePinner certificatePinner, Authenticator authenticator, Proxy proxy, in Address() argument
69 if (authenticator == null) throw new IllegalArgumentException("authenticator == null"); in Address()
70 this.authenticator = authenticator; in Address()
128 return authenticator; in getAuthenticator()
179 && this.authenticator.equals(that.authenticator) in equals()
195 result = 31 * result + authenticator.hashCode(); in hashCode()
DOkHttpClient.java141 private Authenticator authenticator; field in OkHttpClient
175 this.authenticator = okHttpClient.authenticator; in OkHttpClient()
401 public OkHttpClient setAuthenticator(Authenticator authenticator) { in setAuthenticator() argument
402 this.authenticator = authenticator; in setAuthenticator()
407 return authenticator; in getAuthenticator()
613 if (result.authenticator == null) { in copyWithDefaults()
614 result.authenticator = AuthenticatorAdapter.INSTANCE; in copyWithDefaults()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DAddressTest.java31 private Authenticator authenticator = AuthenticatorAdapter.INSTANCE; field in AddressTest
38 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode()
40 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode()
47 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector()); in differentProxySelectorsAreDifferent()
49 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector()); in differentProxySelectorsAreDifferent()
DOkHttpClientTest.java115 Authenticator authenticator = new RecordingAuthenticator(); in copyWithDefaultsWhenDefaultIsGlobal() local
122 Authenticator.setDefault(authenticator); in copyWithDefaultsWhenDefaultIsGlobal()
DURLConnectionTest.java1532 RecordingAuthenticator authenticator = new RecordingAuthenticator(null);
1533 Authenticator.setDefault(authenticator);
1548 return authenticator.calls;
2903 RecordingOkAuthenticator authenticator = new RecordingOkAuthenticator(credential);
2904 client.client().setAuthenticator(authenticator);
2910 assertEquals(Proxy.NO_PROXY, authenticator.onlyProxy());
2911 Response response = authenticator.onlyResponse();
2923 RecordingOkAuthenticator authenticator = new RecordingOkAuthenticator("oauthed abc123");
2924 client.client().setAuthenticator(authenticator);
2930 Response response = authenticator.onlyResponse();
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius.c414 os_memcpy(msg->hdr->authenticator, req_authenticator, in radius_msg_finish_srv()
415 sizeof(msg->hdr->authenticator)); in radius_msg_finish_srv()
428 md5_vector(4, addr, len, msg->hdr->authenticator); in radius_msg_finish_srv()
457 os_memcpy(msg->hdr->authenticator, req_hdr->authenticator, 16); in radius_msg_finish_das_resp()
466 if (md5_vector(2, addr, len, msg->hdr->authenticator) < 0) in radius_msg_finish_das_resp()
485 os_memset(msg->hdr->authenticator, 0, MD5_MAC_LEN); in radius_msg_finish_acct()
490 md5_vector(2, addr, len, msg->hdr->authenticator); in radius_msg_finish_acct()
506 os_memcpy(msg->hdr->authenticator, req_authenticator, MD5_MAC_LEN); in radius_msg_finish_acct_resp()
511 md5_vector(2, addr, len, msg->hdr->authenticator); in radius_msg_finish_acct_resp()
538 return os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0; in radius_msg_verify_acct_req()
[all …]
Dradius_server.c977 if (!radius_msg_add_mppe_keys(msg, hdr->authenticator, in radius_server_encapsulate_eap()
1149 hdr->authenticator) < 0) { in radius_server_encapsulate_eap()
1233 hdr->authenticator) < 0) { in radius_server_macacl()
1278 hdr->authenticator) < in radius_server_reject()
1397 radius_msg_get_hdr(msg)->authenticator, 16) == 0) { in radius_server_request()
1528 os_memcpy(sess->last_authenticator, hdr->authenticator, 16); in radius_server_request()
1899 hdr->authenticator); in radius_server_receive_acct()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DProxyDetectorImplTest.java50 @Mock private ProxyDetectorImpl.AuthenticationProvider authenticator; field in ProxyDetectorImplTest
66 proxyDetector = new ProxyDetectorImpl(proxySelectorSupplier, authenticator, null); in setUp()
82 authenticator, in override_hostPort()
100 authenticator, in override_hostOnly()
181 when(authenticator.requestPasswordAuthentication( in authRequired()
210 authenticator, in proxySelectorReturnsNull()
/external/wpa_supplicant_8/src/wps/
Dwps_attr_process.c16 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator, in wps_process_authenticator() argument
23 if (authenticator == NULL) { in wps_process_authenticator()
45 os_memcmp_const(hash, authenticator, WPS_AUTHENTICATOR_LEN) != 0) { in wps_process_authenticator()
Dwps_validate.c766 static int wps_validate_authenticator(const u8 *authenticator, int mandatory) in wps_validate_authenticator() argument
768 if (authenticator == NULL) { in wps_validate_authenticator()
1382 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m2()
1470 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m3()
1508 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m4()
1575 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m5()
1642 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m6()
1710 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m7()
1784 wps_validate_authenticator(attr.authenticator, 1)) { in wps_validate_m8()
Dwps_attr_parse.h35 const u8 *authenticator; /* WPS_AUTHENTICATOR_LEN (8) octets */ member
Dwps_enrollee.c999 wps_process_authenticator(wps, attr->authenticator, msg) || in wps_process_m2()
1114 wps_process_authenticator(wps, attr->authenticator, msg) || in wps_process_m4()
1169 wps_process_authenticator(wps, attr->authenticator, msg)) { in wps_process_m6()
1226 wps_process_authenticator(wps, attr->authenticator, msg)) { in wps_process_m8()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java70 private final Authenticator authenticator = AuthenticatorAdapter.INSTANCE; field in RouteSelectorTest
118 authenticator, proxyA, protocols, connectionSpecs, proxySelector); in explicitProxyTriesThatProxysAddressesOnly()
133 authenticator, NO_PROXY, protocols, connectionSpecs, proxySelector); in explicitDirectProxy()
342 return new Address(uriHost, uriPort, dns, socketFactory, null, null, null, authenticator, null, in httpAddress()
348 hostnameVerifier, null, authenticator, null, protocols, connectionSpecs, proxySelector); in httpsAddress()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DOkHeaders.java284 public static Request processAuthHeader(Authenticator authenticator, Response response, in processAuthHeader() argument
287 ? authenticator.authenticateProxy(proxy, response) in processAuthHeader()
288 : authenticator.authenticate(proxy, response); in processAuthHeader()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DOkHeaders.java286 public static Request processAuthHeader(Authenticator authenticator, Response response, in processAuthHeader() argument
289 ? authenticator.authenticateProxy(proxy, response) in processAuthHeader()
290 : authenticator.authenticate(proxy, response); in processAuthHeader()
/external/wpa_supplicant_8/hostapd/
Dhostapd.sim_db1 # Example GSM authentication triplet file for EAP-SIM authenticator
Dhostapd.eap_user36 # Multiple methods can be configured to make the authenticator try them one by
42 # authenticator advertises the highest supported version and select the version
/external/e2fsprogs/lib/et/test_cases/
Dsimple.et13 "Can't decode authenticator"
Dheimdal.et31 ec RD_AP_UNDEC, "Kerberos error: Can't decode authenticator"
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccountManager.java422 public void addAuthenticator(AuthenticatorDescription authenticator) {
423 authenticators.put(authenticator.type, authenticator);
/external/curl/tests/python_dependencies/impacket/
Dsmb3.py578 authenticator = Authenticator()
579 authenticator['authenticator-vno'] = 5
580 authenticator['crealm'] = domain
581 seq_set(authenticator, 'cname', userName.components_to_asn1)
584 authenticator['cusec'] = now.microsecond
585 authenticator['ctime'] = KerberosTime.to_asn1(now)
587 encodedAuthenticator = encoder.encode(authenticator)
/external/conscrypt/
DIMPLEMENTATION_NOTES.md32 authenticator has been processed, but it also means that the input data must be
/external/ppp/pppd/
Dchap_ms.c924 u_char authResponse[], int authenticator) in ChapMS2() argument
952 &response[MS_CHAP2_NTRESP], authenticator); in ChapMS2()

12