/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 | 372 char cnonce[33]; in Curl_auth_create_digest_md5_message() local 402 result = Curl_rand_hex(data, (unsigned char *)cnonce, sizeof(cnonce)); in Curl_auth_create_digest_md5_message() 430 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_auth_create_digest_md5_message() 431 curlx_uztoui(strlen(cnonce))); in Curl_auth_create_digest_md5_message() 478 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_auth_create_digest_md5_message() 479 curlx_uztoui(strlen(cnonce))); in Curl_auth_create_digest_md5_message() 496 cnonce, nonceCount, spn, resp_hash_hex, qop); in Curl_auth_create_digest_md5_message() 700 char *cnonce = NULL; in auth_create_digest_http_message() local 710 if(!digest->cnonce) { in auth_create_digest_http_message() 718 &cnonce, &cnonce_sz); in auth_create_digest_http_message() [all …]
|
/external/curl/tests/data/ |
D | test1286 | 84 # - Remove the unique value from cnonce if in RFC format 89 if(s/^(Authorization: Digest )([^\r\n]+)(\r?\n)$//) { $_ = $1 . join(', ', map { s/^(cnonce=)"[a-zA… 99 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 | 91 ^Authorization.*cnonce 118 … 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/webrtc/rtc_base/ |
D | http_common.cc | 305 std::string cnonce, ncount; in HttpAuthenticate() local 308 cnonce = MD5(buffer); in HttpAuthenticate() 333 middle = nonce + ":" + ncount + ":" + cnonce + ":" + qop; in HttpAuthenticate() 352 ss << ", cnonce=" << quote(cnonce); in HttpAuthenticate()
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 597 def _wsse_username_token(cnonce, iso_now, password): argument 599 _sha("%s%s%s" % (cnonce, iso_now, password)).digest() 699 def request(self, method, request_uri, headers, content, cnonce=None): argument 704 self.challenge["cnonce"] = cnonce or _cnonce() 819 cnonce = _cnonce() 823 cnonce, 838 cnonce, 875 cnonce = _cnonce() 876 password_digest = _wsse_username_token(cnonce, iso_now, self.credentials[1]) 880 ) % (self.credentials[0], password_digest, cnonce, iso_now)
|
/external/python/httplib2/python3/httplib2/ |
D | __init__.py | 551 def _wsse_username_token(cnonce, iso_now, password): argument 553 _sha(("%s%s%s" % (cnonce, iso_now, password)).encode("utf-8")).digest() 674 def request(self, method, request_uri, headers, content, cnonce=None): argument 679 self.challenge["cnonce"] = cnonce or _cnonce() 794 cnonce = _cnonce() 798 cnonce, 813 cnonce, 850 cnonce = _cnonce() 851 password_digest = _wsse_username_token(cnonce, iso_now, self.credentials[1]) 855 ) % (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/libcups/cups/ |
D | http-support.c | 1352 char cnonce[65]; /* cnonce value */ in _httpSetDigestAuthString() local 1356 cnonce[i] = "0123456789ABCDEF"[CUPS_RAND() & 15]; in _httpSetDigestAuthString() 1357 cnonce[64] = '\0'; in _httpSetDigestAuthString() 1405 …snprintf(temp, sizeof(temp), "%s:%s:%08x:%s:%s:%s", ha1, http->nonce, http->nonce_count, cnonce, "… in _httpSetDigestAuthString() 1414 …"", cupsUser(), http->realm, http->nonce, http->algorithm, http->opaque, cnonce, http->nonce_count… in _httpSetDigestAuthString() 1416 …, response=\"%s\"", username, http->realm, http->nonce, http->algorithm, cnonce, http->nonce_count… in _httpSetDigestAuthString()
|
/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 | 1181 cnonce = self.get_cnonce(nonce) 1182 noncebit = "%s:%s:%s:%s:%s" % (nonce, ncvalue, cnonce, 'auth', H(A2)) 1199 base += ', qop=auth, nc=%s, cnonce="%s"' % (ncvalue, cnonce)
|
/external/curl/lib/ |
D | urldata.h | 299 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")
|