Home
last modified time | relevance | path

Searched refs:cnonce (Results 1 – 16 of 16) sorted by relevance

/external/apache-http/src/org/apache/http/impl/auth/
DDigestScheme.java110 private String cnonce; field in DigestScheme
162 this.cnonce = null; in processChallenge()
204 if (this.cnonce == null) { in getCnonce()
205 this.cnonce = createCnonce(); in getCnonce()
207 return this.cnonce; in getCnonce()
317 String cnonce = getCnonce(); in createDigest() local
320 … StringBuilder tmp3 = new StringBuilder(tmp2.length() + nonce.length() + cnonce.length() + 2); in createDigest()
325 tmp3.append(cnonce); in createDigest()
354 String cnonce = getCnonce(); in createDigest() local
357 + NC.length() + cnonce.length() + qopOption.length() + md5a2.length() + 5); in createDigest()
[all …]
/external/libmicrohttpd/src/microhttpd/
Ddigestauth.c104 const char *cnonce, in digest_calc_ha1() argument
124 MD5Update (&md5, cnonce, strlen (cnonce)); in digest_calc_ha1()
148 const char *cnonce, in digest_calc_response() argument
186 MD5Update (&md5, cnonce, strlen(cnonce)); in digest_calc_response()
572 char cnonce[MAX_NONCE_LENGTH]; in MHD_digest_auth_check() local
721 if ( (0 == lookup_sub_value (cnonce, in MHD_digest_auth_check()
722 sizeof (cnonce), in MHD_digest_auth_check()
766 cnonce, in MHD_digest_auth_check()
771 cnonce, in MHD_digest_auth_check()
/external/jetty/src/java/org/eclipse/jetty/client/security/
DDigestAuthentication.java59 String cnonce = newCnonce(exchange, securityRealm, details); in setCredentials() local
61 buffer.append(", ").append("response").append('=').append('"').append(newResponse(cnonce, in setCredentials()
69 buffer.append(", ").append("cnonce").append('=').append('"').append(cnonce).append('"'); in setCredentials()
75 …protected String newResponse(String cnonce, HttpExchange exchange, Realm securityRealm, Map detail… in newResponse() argument
100 md.update(cnonce.getBytes(StringUtil.__ISO_8859_1)); in newResponse()
/external/curl/lib/
Dcurl_sasl.c602 char cnonce[33]; in Curl_sasl_create_digest_md5_message() local
637 snprintf(cnonce, sizeof(cnonce), "%08x%08x%08x%08x", in Curl_sasl_create_digest_md5_message()
664 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_sasl_create_digest_md5_message()
665 curlx_uztoui(strlen(cnonce))); in Curl_sasl_create_digest_md5_message()
712 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_sasl_create_digest_md5_message()
713 curlx_uztoui(strlen(cnonce))); in Curl_sasl_create_digest_md5_message()
730 cnonce, nonceCount, spn, resp_hash_hex, qop); in Curl_sasl_create_digest_md5_message()
912 char *cnonce = NULL; in Curl_sasl_create_digest_http_message() local
921 if(!digest->cnonce) { in Curl_sasl_create_digest_http_message()
927 &cnonce, &cnonce_sz); in Curl_sasl_create_digest_http_message()
[all …]
Durldata.h383 char *cnonce;
/external/chromium-trace/catapult/third_party/Paste/paste/auth/
Ddigest.py106 path, nonce, nc, cnonce, qop): argument
115 chk = "%s:%s:%s:%s:%s:%s" % (ha1, nonce, nc, cnonce, qop, ha2)
154 cnonce = amap.get('cnonce', '')
163 nonce, nc, cnonce, qop)
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
DAuthenticationHelperImpl.java304 String cnonce = "xyz"; in getAuthorization() local
309 cnonce, // JvB added in getAuthorization()
337 authorization.setCNonce(cnonce); in getAuthorization()
371 String cnonce = "xyz"; in getAuthorization() local
375 cnonce, // JvB added in getAuthorization()
403 authorization.setCNonce(cnonce); in getAuthorization()
/external/apache-http/android/src/android/net/http/
DRequestHandle.java325 String cnonce = computeCnonce(); in computeDigestAuthResponse() local
326 String digest = computeDigest(A1, A2, nonce, QOP, nc, cnonce); in computeDigestAuthResponse()
344 response += ", qop=" + QOP + ", nc=" + nc + ", cnonce=" + doubleQuote(cnonce); in computeDigestAuthResponse()
365 String A1, String A2, String nonce, String QOP, String nc, String cnonce) { in computeDigest() argument
374 return KD(H(A1), nonce + ":" + nc + ":" + cnonce + ":" + QOP + ":" + H(A2)); in computeDigest()
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/httplib2/
D__init__.py404 def _wsse_username_token(cnonce, iso_now, password): argument
405 …return base64.b64encode(_sha(("%s%s%s" % (cnonce, iso_now, password)).encode('utf-8')).digest()).s…
497 def request(self, method, request_uri, headers, content, cnonce = None): argument
502 self.challenge['cnonce'] = cnonce or _cnonce()
578 cnonce = _cnonce()
579 …request_digest = "%s:%s:%s:%s:%s" % (method, request_uri, cnonce, self.challenge['snonce'], header…
585 cnonce,
614 cnonce = _cnonce()
615 password_digest = _wsse_username_token(cnonce, iso_now, self.credentials[1])
619 cnonce,
/external/jetty/src/java/org/eclipse/jetty/security/authentication/
DDigestAuthenticator.java206 digest.cnonce = tok; in validateRequest()
328 String cnonce = ""; field in DigestAuthenticator.Digest
388 md.update(cnonce.getBytes(StringUtil.__ISO_8859_1)); in check()
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/
D__init__.py454 def _wsse_username_token(cnonce, iso_now, password): argument
455 return base64.b64encode(_sha("%s%s%s" % (cnonce, iso_now, password)).digest()).strip()
527 def request(self, method, request_uri, headers, content, cnonce = None): argument
532 self.challenge['cnonce'] = cnonce or _cnonce()
608 cnonce = _cnonce()
609 …request_digest = "%s:%s:%s:%s:%s" % (method, request_uri, cnonce, self.challenge['snonce'], header…
615 cnonce,
644 cnonce = _cnonce()
645 password_digest = _wsse_username_token(cnonce, iso_now, self.credentials[1])
649 cnonce,
/external/curl/tests/data/
Dtest15380 ^Authorization.*cnonce
102 … username="testuser", realm="testrealm", nonce="999999", uri="/1530002", cnonce="MTA4MzIy", nc="00…
/external/nist-sip/java/gov/nist/javax/sip/header/
DAuthenticationHeader.java423 public void setCNonce(String cnonce) throws ParseException { in setCNonce() argument
424 this.setParameter(ParameterNames.CNONCE, cnonce); in setCNonce()
/external/webrtc/webrtc/base/
Dhttpcommon.cc798 std::string cnonce, ncount; in HttpAuthenticate() local
802 cnonce = DIGEST_CNONCE; in HttpAuthenticate()
806 cnonce = MD5(buffer); in HttpAuthenticate()
830 middle = nonce + ":" + ncount + ":" + cnonce + ":" + qop; in HttpAuthenticate()
853 ss << ", cnonce=" << quote(cnonce); in HttpAuthenticate()
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/
Dhttplib2test.py1459 d.request("GET", request_uri, headers, content, cnonce="33033375ec278a46")
1475 d.request("GET", request_uri, headers, content, cnonce="33033375ec278a46")
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/
Dhttplib2test.py1534 d.request("GET", request_uri, headers, content, cnonce="33033375ec278a46")
1550 d.request("GET", request_uri, headers, content, cnonce="33033375ec278a46")