/frameworks/base/core/tests/coretests/src/android/net/ |
LocalSocketTest.java | 19 import android.net.Credentials; 51 // Test getting credentials 52 Credentials c = ls1.getPeerCredentials();
|
/external/apache-http/src/org/apache/http/auth/ |
UsernamePasswordCredentials.java | 38 * Username and password {@link Credentials} 48 public class UsernamePasswordCredentials implements Credentials {
|
NTCredentials.java | 38 /** {@link Credentials} specific to the Windows platform. 46 public class NTCredentials implements Credentials { 132 * @return String the domain these credentials are intended to authenticate with.
|
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainActivity.java | 29 import android.security.Credentials; 113 this.startActivityForResult(new Intent(Credentials.UNLOCK_ACTION), 115 // Note that Credentials.unlock will start an 138 String[] aliasArray = mKeyStore.saw(Credentials.USER_PRIVATE_KEY); 246 Credentials.EXTENSION_PFX, Credentials.EXTENSION_P12); 256 Credentials.getInstance().install(KeyChainActivity.this); 325 byte[] bytes = mKeyStore.get(Credentials.USER_CERTIFICATE + alias);
|
KeyChainService.java | 31 import android.security.Credentials; 91 final String keystoreAlias = Credentials.USER_PRIVATE_KEY + alias; 107 return mKeyStore.get(Credentials.USER_CERTIFICATE + alias);
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnSettings.java | 34 import android.security.Credentials; 169 Credentials.getInstance().unlock(getActivity()); 240 mKeyStore.put(Credentials.VPN + profile.key, profile.encode(), KeyStore.UID_SELF, 309 mKeyStore.delete(Credentials.VPN + mSelectedKey); 479 final byte[] value = keyStore.get(Credentials.LOCKDOWN_VPN); 484 final String lockdownKey = getStringOrNull(keyStore, Credentials.LOCKDOWN_VPN); 525 keyStore.delete(Credentials.LOCKDOWN_VPN); 534 keyStore.put(Credentials.LOCKDOWN_VPN, profile.key.getBytes(), 549 final String[] keys = keyStore.saw(Credentials.VPN); 553 key, keyStore.get(Credentials.VPN + key)) [all...] |
VpnDialog.java | 26 import android.security.Credentials; 117 loadCertificates(mIpsecUserCert, Credentials.USER_PRIVATE_KEY, 119 loadCertificates(mIpsecCaCert, Credentials.CA_CERTIFICATE, 121 loadCertificates(mIpsecServerCert, Credentials.USER_CERTIFICATE,
|
/frameworks/base/keystore/tests/src/android/security/ |
AndroidKeyStoreTest.java | [all...] |
AndroidKeyPairGeneratorTest.java | 500 final byte[] userCertBytes = mAndroidKeyStore.get(Credentials.USER_CERTIFICATE + alias); 531 final byte[] caCerts = mAndroidKeyStore.get(Credentials.CA_CERTIFICATE + alias); 534 final byte[] pubKeyBytes = mAndroidKeyStore.getPubkey(Credentials.USER_PRIVATE_KEY + alias);
|
/external/apache-http/src/org/apache/http/impl/auth/ |
DigestScheme.java | 41 import org.apache.http.auth.Credentials; 207 * {@link Credentials}, method name and URI. 209 * @param credentials A set of credentials to be used for athentication 212 * @throws org.apache.http.auth.InvalidCredentialsException if authentication credentials 220 final Credentials credentials, 223 if (credentials == null) { 224 throw new IllegalArgumentException("Credentials may not be null"); 238 String digest = createDigest(credentials); [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
AdvancedWifiSettings.java | 31 import android.security.Credentials; 100 Intent intent=new Intent(Credentials.INSTALL_AS_USER_ACTION); 103 intent.putExtra(Credentials.EXTRA_INSTALL_AS_UID, android.os.Process.WIFI_UID);
|
WifiConfigController.java | 39 import android.security.Credentials; 593 loadCertificates(mEapCaCertSpinner, Credentials.CA_CERTIFICATE); 594 loadCertificates(mEapUserCertSpinner, Credentials.USER_PRIVATE_KEY); [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteConnection.java | 19 import android.net.Credentials; 75 private final Credentials peer; 98 Log.e(TAG, "Cannot read peer credentials", ex); 581 * Based on the credentials of the process issuing a zygote command: 592 * @param peer non-null; peer credentials 595 private static void applyUidSecurityPolicy(Arguments args, Credentials peer, 668 * Applies zygote security policy per bug #1042973. Based on the credentials 676 * @param peer non-null; peer credentials 680 Arguments args, Credentials peer, String peerSecurityContext) 712 * @param peer non-null; peer credentials [all...] |
/frameworks/base/core/java/android/net/ |
LocalSocket.java | 306 * Retrieves the credentials of this socket's peer. Only valid on 309 * @return non-null; peer credentials 312 public Credentials getPeerCredentials() throws IOException {
|
LocalSocketImpl.java | 182 private native Credentials getPeerCredentials_native( 511 * Retrieves the credentials of this socket's peer. Only valid on 514 * @return non-null; peer credentials 517 public Credentials getPeerCredentials() throws IOException
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertInstaller.java | 29 import android.security.Credentials; 249 Credentials.getInstance().unlock(this); 261 byte[] privatekey = mCredentials.getData(Credentials.EXTRA_PRIVATE_KEY); 262 String key = Util.toMd5(mCredentials.getData(Credentials.EXTRA_PUBLIC_KEY));
|
/external/chromium_org/chrome/browser/resources/gaia_auth/ |
inline_injected.js | 40 console.log('Credentials sent');
|
/frameworks/base/services/java/com/android/server/net/ |
LockdownVpnTracker.java | 35 import android.security.Credentials; 84 return KeyStore.getInstance().contains(Credentials.LOCKDOWN_VPN);
|
/external/chromium_org/content/common/sandbox_linux/ |
sandbox_linux.cc | 29 #include "sandbox/linux/services/credentials.h" 340 return sandbox::Credentials().HasOpenDirectory(proc_fd_);
|
/frameworks/base/services/java/com/android/server/connectivity/ |
Vpn.java | 63 import android.security.Credentials; 741 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; 742 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert); 746 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert); 750 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecServerCert); 754 throw new IllegalStateException("Cannot load credentials"); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.repository_2.0.1.R36x_v20100823.jar | |
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultRequestDirector.java | 58 import org.apache.http.auth.Credentials; 723 Credentials creds = this.proxyAuthState.getCredentials(); [all...] |
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
__init__.py | 406 # For credentials we need two things, first 415 def __init__(self, credentials, host, request_uri, headers, response, content, http): 419 self.credentials = credentials 449 def __init__(self, credentials, host, request_uri, headers, response, content, http): 450 Authentication.__init__(self, credentials, host, request_uri, headers, response, content, http) 455 headers['authorization'] = 'Basic ' + base64.b64encode("%s:%s" % self.credentials).strip() 461 def __init__(self, credentials, host, request_uri, headers, response, content, http): 462 Authentication.__init__(self, credentials, host, request_uri, headers, response, content, http) 472 self.A1 = "".join([self.credentials[0], ":", self.challenge['realm'], ":", self.credentials[1]]) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
__init__.py | 406 # For credentials we need two things, first 415 def __init__(self, credentials, host, request_uri, headers, response, content, http): 419 self.credentials = credentials 449 def __init__(self, credentials, host, request_uri, headers, response, content, http): 450 Authentication.__init__(self, credentials, host, request_uri, headers, response, content, http) 455 headers['authorization'] = 'Basic ' + base64.b64encode("%s:%s" % self.credentials).strip() 461 def __init__(self, credentials, host, request_uri, headers, response, content, http): 462 Authentication.__init__(self, credentials, host, request_uri, headers, response, content, http) 472 self.A1 = "".join([self.credentials[0], ":", self.challenge['realm'], ":", self.credentials[1]]) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/ |
DefaultRequestDirector.java | [all...] |