Home
last modified time | relevance | path

Searched refs:cnonce (Results 1 – 11 of 11) 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/curl/lib/vauth/
Ddigest.c362 char cnonce[33]; in Curl_auth_create_digest_md5_message() local
396 snprintf(cnonce, sizeof(cnonce), "%08x%08x%08x%08x", in Curl_auth_create_digest_md5_message()
423 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_auth_create_digest_md5_message()
424 curlx_uztoui(strlen(cnonce))); in Curl_auth_create_digest_md5_message()
471 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_auth_create_digest_md5_message()
472 curlx_uztoui(strlen(cnonce))); in Curl_auth_create_digest_md5_message()
489 cnonce, nonceCount, spn, resp_hash_hex, qop); in Curl_auth_create_digest_md5_message()
677 char *cnonce = NULL; in Curl_auth_create_digest_http_message() local
686 if(!digest->cnonce) { in Curl_auth_create_digest_http_message()
695 &cnonce, &cnonce_sz); in Curl_auth_create_digest_http_message()
[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/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/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/libcups/cups/
Dhttp-support.c1357 char cnonce[65]; /* cnonce value */ in _httpSetDigestAuthString() local
1361 cnonce[i] = "0123456789ABCDEF"[CUPS_RAND() & 15]; in _httpSetDigestAuthString()
1362 cnonce[64] = '\0'; in _httpSetDigestAuthString()
1404 …snprintf(temp, sizeof(temp), "%s:%s:%08x:%s:%s:%s", ha1, http->nonce, http->nonce_count, cnonce, "… in _httpSetDigestAuthString()
1413 …"", cupsUser(), http->realm, http->nonce, http->algorithm, http->opaque, cnonce, http->nonce_count… in _httpSetDigestAuthString()
1415 …, response=\"%s\"", username, http->realm, http->nonce, http->algorithm, cnonce, http->nonce_count… in _httpSetDigestAuthString()
/external/python/cpython2/Lib/
Durllib2.py1042 cnonce = self.get_cnonce(nonce)
1043 noncebit = "%s:%s:%s:%s:%s" % (nonce, ncvalue, cnonce, qop, H(A2))
1062 base += ', qop=auth, nc=%s, cnonce="%s"' % (ncvalue, cnonce)
/external/curl/lib/
Durldata.h410 char *cnonce;