Home
last modified time | relevance | path

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

/external/apache-http/src/org/apache/http/impl/auth/
DDigestScheme.java105 private String cnonce; field in DigestScheme
157 this.cnonce = null; in processChallenge()
199 if (this.cnonce == null) { in getCnonce()
200 this.cnonce = createCnonce(); in getCnonce()
202 return this.cnonce; in getCnonce()
312 String cnonce = getCnonce(); in createDigest() local
315 … StringBuilder tmp3 = new StringBuilder(tmp2.length() + nonce.length() + cnonce.length() + 2); in createDigest()
320 tmp3.append(cnonce); in createDigest()
349 String cnonce = getCnonce(); in createDigest() local
352 + NC.length() + cnonce.length() + qopOption.length() + md5a2.length() + 5); in createDigest()
[all …]
/external/chromium/net/http/
Dhttp_auth_handler_digest.cc61 std::string cnonce; in GenerateNonce() local
62 cnonce.reserve(16); in GenerateNonce()
64 cnonce.push_back(domain[base::RandInt(0, 15)]); in GenerateNonce()
65 return cnonce; in GenerateNonce()
145 std::string cnonce = nonce_generator_->GenerateNonce(); in GenerateAuthTokenImpl() local
156 cnonce, nonce_count_); in GenerateAuthTokenImpl()
320 const std::string& cnonce, in AssembleResponseDigest() argument
327 ha1 = MD5String(ha1 + ":" + nonce_ + ":" + cnonce); in AssembleResponseDigest()
335 nc_part = nc + ":" + cnonce + ":" + QopToString(qop_) + ":"; in AssembleResponseDigest()
346 const std::string& cnonce, in AssembleCredentials() argument
[all …]
Dhttp_auth_handler_digest.h152 const std::string& cnonce,
160 const std::string& cnonce,
Dhttp_auth_handler_digest_unittest.cc377 const char* cnonce; in TEST() member
521 tests[i].cnonce, in TEST()
/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/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
D__init__.py402 def _wsse_username_token(cnonce, iso_now, password): argument
403 return base64.b64encode(_sha("%s%s%s" % (cnonce, iso_now, password)).digest()).strip()
475 def request(self, method, request_uri, headers, content, cnonce = None): argument
480 self.challenge['cnonce'] = cnonce or _cnonce()
556 cnonce = _cnonce()
557 …request_digest = "%s:%s:%s:%s:%s" % (method, request_uri, cnonce, self.challenge['snonce'], header…
563 cnonce,
593 cnonce = _cnonce()
594 password_digest = _wsse_username_token(cnonce, iso_now, self.credentials[1])
598 cnonce,
/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/chromium/third_party/libjingle/source/talk/base/
Dhttpcommon.cc800 std::string cnonce, ncount; in HttpAuthenticate() local
804 cnonce = DIGEST_CNONCE; in HttpAuthenticate()
808 cnonce = MD5(buffer); in HttpAuthenticate()
832 middle = nonce + ":" + ncount + ":" + cnonce + ":" + qop; in HttpAuthenticate()
855 ss << ", cnonce=" << quote(cnonce); in HttpAuthenticate()