/external/apache-http/src/org/apache/http/impl/auth/ |
D | DigestScheme.java | 110 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/ |
D | digest.c | 373 char cnonce[33]; in Curl_auth_create_digest_md5_message() local 401 result = Curl_rand_hex(data, (unsigned char *)cnonce, sizeof(cnonce)); in Curl_auth_create_digest_md5_message() 429 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_auth_create_digest_md5_message() 430 curlx_uztoui(strlen(cnonce))); in Curl_auth_create_digest_md5_message() 477 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_auth_create_digest_md5_message() 478 curlx_uztoui(strlen(cnonce))); in Curl_auth_create_digest_md5_message() 495 cnonce, nonceCount, spn, resp_hash_hex, qop); in Curl_auth_create_digest_md5_message() 699 char *cnonce = NULL; in _Curl_auth_create_digest_http_message() local 708 if(!digest->cnonce) { in _Curl_auth_create_digest_http_message() 716 &cnonce, &cnonce_sz); in _Curl_auth_create_digest_http_message() [all …]
|
/external/curl/tests/data/ |
D | test1286 | 86 # - Remove the unique value from cnonce if in RFC format 91 if(s/^(Authorization: Digest )([^\r\n]+)(\r?\n)$//) { $_ = $1 . join(', ', map { s/^(cnonce=)"[a-zA… 100 Authorization: Digest cnonce=REMOVED, nc=00000001, nonce="1053604144", qop=auth, realm="testrealm",… 105 Authorization: Digest cnonce=REMOVED, nc=00000002, nonce="1053604144", qop=auth, realm="testrealm",…
|
D | test153 | 80 ^Authorization.*cnonce 102 … username="testuser", realm="testrealm", nonce="999999", uri="/1530002", cnonce="MTA4MzIy", nc="00…
|
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
D | AuthenticationHelperImpl.java | 304 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/ |
D | RequestHandle.java | 325 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/python/httplib2/python3/httplib2/ |
D | __init__.py | 531 def _wsse_username_token(cnonce, iso_now, password): argument 533 _sha(("%s%s%s" % (cnonce, iso_now, password)).encode("utf-8")).digest() 654 def request(self, method, request_uri, headers, content, cnonce=None): argument 659 self.challenge["cnonce"] = cnonce or _cnonce() 774 cnonce = _cnonce() 778 cnonce, 793 cnonce, 830 cnonce = _cnonce() 831 password_digest = _wsse_username_token(cnonce, iso_now, self.credentials[1]) 835 ) % (self.credentials[0], password_digest, cnonce, iso_now)
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 584 def _wsse_username_token(cnonce, iso_now, password): argument 586 _sha("%s%s%s" % (cnonce, iso_now, password)).digest() 686 def request(self, method, request_uri, headers, content, cnonce=None): argument 691 self.challenge["cnonce"] = cnonce or _cnonce() 806 cnonce = _cnonce() 810 cnonce, 825 cnonce, 862 cnonce = _cnonce() 863 password_digest = _wsse_username_token(cnonce, iso_now, self.credentials[1]) 867 ) % (self.credentials[0], password_digest, cnonce, iso_now)
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | AuthenticationHeader.java | 423 public void setCNonce(String cnonce) throws ParseException { in setCNonce() argument 424 this.setParameter(ParameterNames.CNONCE, cnonce); in setCNonce()
|
/external/python/httplib2/tests/ |
D | test_auth.py | 290 d.request("GET", request_uri, headers, content, cnonce="33033375ec278a46") 315 d.request("GET", request_uri, headers, content, cnonce="5ec2")
|
/external/webrtc/webrtc/base/ |
D | httpcommon.cc | 798 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/ |
D | http-support.c | 1357 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/honggfuzz/examples/apache-httpd/ |
D | httpd.wordlist | 191 "cnonce"
|
/external/python/cpython2/Lib/ |
D | urllib2.py | 1042 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/python/cpython3/Lib/urllib/ |
D | request.py | 1153 cnonce = self.get_cnonce(nonce) 1154 noncebit = "%s:%s:%s:%s:%s" % (nonce, ncvalue, cnonce, qop, H(A2)) 1173 base += ', qop=auth, nc=%s, cnonce="%s"' % (ncvalue, cnonce)
|
/external/curl/lib/ |
D | urldata.h | 286 char *cnonce;
|
/external/python/httplib2/python2/ |
D | httplib2test.py | 1805 d.request("GET", request_uri, headers, content, cnonce="33033375ec278a46") 1831 d.request("GET", request_uri, headers, content, cnonce="33033375ec278a46")
|
/external/python/httplib2/python3/ |
D | httplib2test.py | 1760 d.request("GET", request_uri, headers, content, cnonce="33033375ec278a46") 1786 d.request("GET", request_uri, headers, content, cnonce="33033375ec278a46")
|