Searched refs:credential (Results 1 - 25 of 34) sorted by relevance

12

/external/jetty/src/java/org/eclipse/jetty/security/authentication/
H A DLoginCallbackImpl.java40 private Object credential; field in class:LoginCallbackImpl
49 public LoginCallbackImpl (Subject subject, String userName, Object credential) argument
53 this.credential = credential;
68 return credential;
103 if (credential != null)
105 credential = null;
H A DClientCertAuthenticator.java124 final char[] credential = B64Code.encode(cert.getSignature());
126 UserIdentity user = login(username, credential, req);
/external/webrtc/webrtc/libjingle/xmpp/
H A Dsaslplainmechanism.h32 rtc::FormatCryptString credential; local
33 credential.Append("\0", 1);
34 credential.Append(user_jid_.node());
35 credential.Append("\0", 1);
36 credential.Append(&password_);
37 el->AddText(Base64EncodeFromArray(credential.GetData(), credential.GetLength()));
H A Dsaslcookiemechanism.h51 std::string credential; local
52 credential.append("\0", 1);
53 credential.append(username_);
54 credential.append("\0", 1);
55 credential.append(cookie_);
56 el->AddText(Base64Encode(credential));
/external/webrtc/webrtc/api/objc/
H A DRTCIceServer.h24 @property(nonatomic, copy, readonly, nullable) NSString *credential; variable
33 * optional credential, and credentialType.
37 credential:(nullable NSString *)credential
H A DRTCIceServer.mm20 @synthesize credential = _credential;
26 credential:nil];
31 credential:(NSString *)credential {
36 _credential = [credential copy];
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
H A DRecordingOkAuthenticator.java28 public final String credential; field in class:RecordingOkAuthenticator
30 public RecordingOkAuthenticator(String credential) { argument
31 this.credential = credential;
48 .addHeader("Authorization", credential)
56 .addHeader("Proxy-Authorization", credential)
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
H A DRTCICEServer+JSON.m17 static NSString const *kRTCICEServerCredentialKey = @"credential";
24 NSString *credential = dictionary[kRTCICEServerCredentialKey];
26 credential = credential ? credential : @"";
29 password:credential];
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
H A Dold_run.py82 storage: Storage, a ``Storage`` to store the credential in.
87 Credentials, the obtained credential.
153 credential = flow.step2_exchange(code, http=http)
157 storage.put(credential)
158 credential.set_store(storage)
161 return credential
H A Ddjango_orm.py81 """Store and retrieve a single credential to and from
109 credential = None
114 credential = getattr(entities[0], self.property_name)
115 if credential and hasattr(credential, 'set_store'):
116 credential.set_store(self)
117 return credential
H A Dmultistore_file.py15 """Multi-credential file store with lock support.
17 This module implements a JSON credential store where multiple
21 The credential themselves are keyed off of:
38 'credential': {
72 """The credential store is a newer version than supported."""
78 """Get a Storage instance for a credential.
82 client_id: The client_id for the credential
83 user_agent: The user agent for the credential
89 credential.
101 """Get a Storage instance for a credential usin
[all...]
H A Dtools.py152 storage: Storage, a ``Storage`` to store the credential in.
160 Credentials, the obtained credential.
225 credential = flow.step2_exchange(code, http=http)
229 storage.put(credential)
230 credential.set_store(storage)
233 return credential
/external/tpm2/
H A DMakeCredential.c17 // TPM_RC_SIZE credential is larger than the digest size of Name algorithm of handle
44 // The credential information may not be larger than the digest size used for
46 if(in->credential.t.size > CryptGetHashDigestSize(object->publicArea.nameAlg))
58 // Prepare output credential data from secret
59 SecretToCredential(&in->credential, &in->objectName, (TPM2B_SEED *) &data,
H A DMakeCredential_fp.h14 TPM2B_DIGEST credential; member in struct:__anon17749
H A DMarshal_MakeCredential.c46 result = TPM2B_DIGEST_Unmarshal(&target->credential, buffer, size);
H A DObject_spt.c99 // requires encrypting or decrypting of the sensitive area of an object or a credential blob
155 // is parent handle. For credential, it
217 // This function produces an inner integrity for regular private, credential or duplication blob It requires the
700 // handle. For credential, it is the handle
785 // handle. For credential, it is the handle
1241 // This function prepare the credential blob from a secret (a TPM2B_DIGEST) The operations in this
1254 TPM2B_ID_OBJECT *outIDObject // OUT: output credential
1265 // Marshal secret area to credential buffer, leave space for integrity
1266 sensitiveData = outIDObject->t.credential
1279 outIDObject->t.credential);
[all...]
/external/jetty/src/java/org/eclipse/jetty/util/security/
H A DCredential.java32 * checking authentication credentials. A credential instance either represents
37 * is only a credential that can be checked against the password.
52 * Check a credential
54 * @param credentials The credential to check against. This may either be
56 * which is interpreted by this credential.
58 * to both this Credential and the passed credential.
64 * Get a credential from a String. If the credential String starts with a
66 * type is returned. Else the credential is assumed to be a Password.
68 * @param credential Strin
71 getCredential(String credential) argument
[all...]
/external/jetty/src/java/org/eclipse/jetty/security/
H A DMappedLoginService.java165 Credential credential = (info instanceof Credential)?(Credential)info:Credential.getCredential(info.toString());
167 Principal userPrincipal = new KnownUser(userName,credential);
170 subject.getPrivateCredentials().add(credential);
182 * @param credential The users Credentials
186 public synchronized UserIdentity putUser(String userName, Credential credential, String[] roles) argument
188 Principal userPrincipal = new KnownUser(userName,credential);
191 subject.getPrivateCredentials().add(credential);
308 public KnownUser(String name,Credential credential) argument
311 _credential=credential;
H A DPropertyUserStore.java159 Credential credential = Credential.getCredential(credentials);
161 Principal userPrincipal = new KnownUser(username,credential);
164 subject.getPrivateCredentials().add(credential);
177 notifyUpdate(username,credential,roleArray);
305 * @param credential
308 private void notifyUpdate(String username, Credential credential, String[] roleArray) argument
314 i.next().update(username,credential,roleArray);
352 public void update(String username, Credential credential, String[] roleArray); argument
H A DHashLoginService.java166 public void update(String userName, Credential credential, String[] roleArray) argument
170 putUser(userName,credential,roleArray);
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
H A DAuthenticate.java34 String credential = Credentials.basic("jesse", "password1");
36 .header("Authorization", credential)
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DAuthenticatorAdapter.java50 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword()));
52 .header("Authorization", credential)
74 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword()));
76 .header("Proxy-Authorization", credential)
/external/webrtc/webrtc/api/objctests/
H A DRTCIceServerTest.mm55 credential:@"credential"];
60 EXPECT_EQ("credential", iceStruct.password);
/external/autotest/client/cros/
H A Dcryptohome.py315 def canonicalize(credential):
324 if not credential:
327 parts = credential.split('@')
329 raise error.TestError('Malformed email: ' + credential)
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
H A DRoomParametersFetcher.java209 String credential =
210 server.has("credential") ? server.getString("credential") : "";
211 ret.add(new PeerConnection.IceServer(url, "", credential));

Completed in 661 milliseconds

12