HomeSort by relevance Sort by last modified time
    Searched refs:Challenge (Results 1 - 16 of 16) sorted by null

  /external/okhttp/src/main/java/libcore/net/http/
Challenge.java 20 * An RFC 2617 challenge.
22 final class Challenge {
26 Challenge(String scheme, String realm) {
32 return o instanceof Challenge
33 && ((Challenge) o).scheme.equals(scheme)
34 && ((Challenge) o).realm.equals(realm);
HeaderParser.java 72 public static List<Challenge> parseChallenges(
77 * challenge = auth-scheme 1*SP 1#auth-param
81 List<Challenge> result = new ArrayList<Challenge>();
100 break; // unexpected challenge parameter; give up
111 result.add(new Challenge(scheme, realm));
HttpURLConnectionImpl.java 426 * Returns the authorization credentials on the base of provided challenge.
430 List<Challenge> challenges = HeaderParser.parseChallenges(responseHeaders, challengeHeader);
435 for (Challenge challenge : challenges) {
439 challenge.realm, challenge.scheme);
448 return challenge.scheme + " " + encoded;
  /libcore/luni/src/main/java/libcore/net/http/
Challenge.java 20 * An RFC 2617 challenge.
24 public final class Challenge {
28 public Challenge(String scheme, String realm) {
34 return o instanceof Challenge
35 && ((Challenge) o).scheme.equals(scheme)
36 && ((Challenge) o).realm.equals(realm);
44 return "Challenge[" + scheme + " " + realm + "]";
HeaderParser.java 75 public static List<Challenge> parseChallenges(
80 * challenge = auth-scheme 1*SP 1#auth-param
84 List<Challenge> result = new ArrayList<Challenge>();
103 break; // unexpected challenge parameter; give up
114 result.add(new Challenge(scheme, realm));
HttpURLConnectionImpl.java 430 * Returns the authorization credentials on the base of provided challenge.
434 List<Challenge> challenges = HeaderParser.parseChallenges(responseHeaders, challengeHeader);
439 for (Challenge challenge : challenges) {
443 challenge.realm, challenge.scheme);
452 return challenge.scheme + " " + encoded;
  /libcore/luni/src/test/java/libcore/net/http/
ParsedHeadersTest.java 193 assertEquals(Arrays.asList(new Challenge("s1", "ab,cd"), new Challenge("s2", "ef,gh")),
201 assertEquals(Arrays.asList(new Challenge("s1", "abc"), new Challenge("s2", "def")),
208 assertEquals(Arrays.asList(new Challenge("s1", "a"), new Challenge("s2", "b")),
215 assertEquals(Collections.<Challenge>emptyList(),
222 assertEquals(Arrays.asList(new Challenge("Basic", "")),
229 assertEquals(Collections.<Challenge>emptyList(),
241 assertEquals(Arrays.asList(new Challenge("Digest", "abc"), new Challenge("Basic", "def"))
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
Challenge.java 34 * Challenge part of the Auth header. This is only used by the parser interface
41 public class Challenge extends SIPObject {
72 public Challenge() {
78 * Encode the challenge in canonical form.
252 Challenge retval = (Challenge) super.clone();
AuthenticationHeader.java 143 * @param challenge --
144 * the challenge from which the parameters are extracted.
146 public void setChallenge(Challenge challenge) {
147 this.scheme = challenge.scheme;
148 super.parameters = challenge.authParams;
162 * Sets the scheme of the challenge information for this
166 * the new string value that identifies the challenge information
174 * Returns the scheme of the challenge information for this
177 * @return the string value of the challenge information
    [all...]
  /external/libppp/src/
chap_ms.c 121 ChallengeResponse(u_char *challenge, u_char *pwHash, u_char *response)
128 DesEncrypt(challenge, ZPasswordHash + 0, response + 0);
129 DesEncrypt(challenge, ZPasswordHash + 7, response + 8);
130 DesEncrypt(challenge, ZPasswordHash + 14, response + 16);
155 char *UserName, char *Challenge)
174 memcpy(Challenge, Digest, 8);
182 char Challenge[8];
185 ChallengeHash(PeerChallenge, AuthenticatorChallenge, UserName, Challenge);
187 ChallengeResponse(Challenge, PasswordHash, Response);
222 char Challenge[8]
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary.compat 16 ATTRIBUTE Challenge-State 24 string
dictionary.microsoft 22 ATTRIBUTE MS-CHAP-Challenge 11 string Microsoft
47 #ATTRIBUTE MS-ARAP-Challenge 33 string Microsoft
dictionary 85 ATTRIBUTE Chap-Challenge 60 string
  /external/ppp/pppd/
chap_ms.c 154 { "mschap-challenge", o_string, &mschap_challenge,
155 "specify CHAP challenge" },
156 { "mschap2-peer-challenge", o_string, &mschap2_peer_challenge,
157 "specify CHAP peer challenge" },
163 * chapms_generate_challenge - generate a challenge for MS-CHAP.
164 * For MS-CHAP the challenge length is fixed at 8 bytes.
165 * The length goes in challenge[0] and the actual challenge starts
166 * at challenge[1].
169 chapms_generate_challenge(unsigned char *challenge)
    [all...]
  /external/ppp/pppd/plugins/
winbind.c 100 unsigned char *challenge,
254 const u_char *challenge,
361 sprintf(challenge_hex + i * 2, "%02X", challenge[i]);
363 fprintf(pipe_in, "LANMAN-Challenge: %s\n", challenge_hex);
519 unsigned char *challenge,
531 challenge_len = *challenge++;
587 challenge,
595 mppe_set_keys(challenge, session_key);
605 challenge_len, challenge);
614 u_char Challenge[8]
    [all...]
  /tools/motodev/src/plugins/certmanager/lib/
bcprov-jdk15on-147.jar 

Completed in 207 milliseconds