HomeSort by relevance Sort by last modified time
    Searched refs:KeyChain (Results 1 - 25 of 32) sorted by null

1 2

  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyChainTest.java 19 import android.security.KeyChain;
24 assertTrue("DSA must be supported", KeyChain.isKeyAlgorithmSupported("DSA"));
25 assertTrue("EC must be supported", KeyChain.isKeyAlgorithmSupported("EC"));
26 assertTrue("RSA must be supported", KeyChain.isKeyAlgorithmSupported("RSA"));
38 KeyChain.isBoundKeyAlgorithm("RSA"));
41 KeyChain.isBoundKeyAlgorithm("DSA");
42 KeyChain.isBoundKeyAlgorithm("EC");
  /packages/apps/Exchange/src/com/android/exchange/
EasCertificateRequestor.java 20 import android.security.KeyChain;
28 * They {@link KeyChain} API works in such a way that the host
  /build/target/product/
core.mk 29 KeyChain \
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
CertificateRequestor.java 23 import android.security.KeyChain;
27 * A headless Activity which simply calls into the framework {@link KeyChain} service to select
47 KeyChain.choosePrivateKeyAlias(
SSLUtils.java 24 import android.security.KeyChain;
294 * A {@link KeyManager} that reads uses credentials stored in the system {@link KeyChain}.
303 * If for any reason retrieval of the credentials from the system {@link KeyChain} fails,
310 certificateChain = KeyChain.getCertificateChain(context, alias);
321 privateKey = KeyChain.getPrivateKey(context, alias);
  /packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
KeyChainServiceTestSupport.java 17 package com.android.keychain.tests.support;
23 import android.security.KeyChain;
72 KeyChain.KeyChainConnection connection = null;
74 connection = KeyChain.bind(KeyChainServiceTestSupport.this);
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java 17 package com.android.keychain.tests;
24 import android.security.KeyChain;
51 * Simple activity based test that exercises the KeyChain API
107 KeyChain.getPrivateKey(null, null);
114 log("KeyChain failed as expected with null argument.");
118 KeyChain.getPrivateKey(this, null);
125 log("KeyChain failed as expected with null argument.");
129 KeyChain.getPrivateKey(null, "");
136 log("KeyChain failed as expected with null argument.");
140 KeyChain.getPrivateKey(this, "")
    [all...]
  /external/chromium_org/net/android/java/src/org/chromium/net/
AndroidNetworkLibrary.java 10 import android.security.KeyChain;
47 // TODO(digit): Use KeyChain official extra values to pass the public and private
49 // from the platform sources, since there are no official KeyChain.EXTRA_XXX definitions
52 Intent intent = KeyChain.createInstallIntent();
66 * PKCS#12 keychain) through the system's CertInstaller activity.
70 * @param data certificate/keychain data bytes.
74 * CertInstaller activity, not that the certificate/keychain was properly
80 Intent intent = KeyChain.createInstallIntent();
86 intent.putExtra(KeyChain.EXTRA_CERTIFICATE, data);
90 intent.putExtra(KeyChain.EXTRA_PKCS12, data)
    [all...]
X509Util.java 11 import android.security.KeyChain;
39 if (intent.getAction().equals(KeyChain.ACTION_STORAGE_CHANGED)) {
123 new IntentFilter(KeyChain.ACTION_STORAGE_CHANGED));
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
KeyChainDemoActivity.java 17 package com.example.android.keychain;
25 import android.security.KeyChain;
45 public static final String PKCS12_FILENAME = "keychain.p12";
64 private static final String KEYCHAIN_PREF = "keychain";
69 // Request code used when starting the activity using the KeyChain install
228 byte[] keychain = new byte[bis.available()];
229 bis.read(keychain);
231 Intent installIntent = KeyChain.createInstallIntent();
232 installIntent.putExtra(KeyChain.EXTRA_PKCS12, keychain);
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
SSLClientCertificateRequest.java 10 import android.security.KeyChain;
35 // system activity through KeyChain.choosePrivateKeyAlias() to let the user select a client
39 // KeyChain.getCertificateChain() and KeyChain.getPrivateKey(). Unfortunately, these APIs are
85 key = KeyChain.getPrivateKey(context, mAlias);
86 chain = KeyChain.getCertificateChain(context, mAlias);
164 KeyChain.choosePrivateKeyAlias(
  /packages/apps/CertInstaller/src/com/android/certinstaller/
CertInstallerMain.java 25 import android.security.KeyChain;
79 // Either way, we use KeyChain.EXTRA_NAME as the default name if available.
83 && (bundle.containsKey(KeyChain.EXTRA_NAME)
123 intent.putExtra(KeyChain.EXTRA_PKCS12, value);
129 intent.putExtra(KeyChain.EXTRA_CERTIFICATE, value);
CredentialHelper.java 24 import android.security.KeyChain;
81 String name = bundle.getString(KeyChain.EXTRA_NAME);
82 bundle.remove(KeyChain.EXTRA_NAME);
96 parseCert(getData(KeyChain.EXTRA_CERTIFICATE));
102 outStates.putString(KeyChain.EXTRA_NAME, mName);
122 mName = savedStates.getString(KeyChain.EXTRA_NAME);
179 return mBundle.containsKey(KeyChain.EXTRA_PKCS12);
219 mBundle.put(KeyChain.EXTRA_PKCS12, data);
328 keystore.load(new ByteArrayInputStream(getData(KeyChain.EXTRA_PKCS12)),
CertInstaller.java 30 import android.security.KeyChain;
31 import android.security.KeyChain.KeyChainConnection;
203 KeyChainConnection keyChainConnection = KeyChain.bind(CertInstaller.this);
  /packages/apps/KeyChain/src/com/android/keychain/
KeyChainActivity.java 17 package com.android.keychain;
31 import android.security.KeyChain;
57 private static final String TAG = "KeyChain";
92 mSender = getIntent().getParcelableExtra(KeyChain.EXTRA_SENDER);
183 String alias = getIntent().getStringExtra(KeyChain.EXTRA_ALIAS);
228 String host = getIntent().getStringExtra(KeyChain.EXTRA_HOST);
231 int port = getIntent().getIntExtra(KeyChain.EXTRA_PORT, -1);
382 getIntent().getIBinderExtra(KeyChain.EXTRA_RESPONSE));
400 KeyChain.KeyChainConnection connection = KeyChain.bind(KeyChainActivity.this)
    [all...]
KeyChainService.java 17 package com.android.keychain;
33 import android.security.KeyChain;
46 private static final String TAG = "KeyChain";
313 Intent intent = new Intent(KeyChain.ACTION_STORAGE_CHANGED);
  /packages/apps/KeyChain/
Android.mk 23 LOCAL_PACKAGE_NAME := KeyChain
  /frameworks/base/keystore/java/android/security/
Credentials.java 184 Intent intent = KeyChain.createInstallIntent();
193 Intent intent = KeyChain.createInstallIntent();
204 Intent intent = KeyChain.createInstallIntent();
KeyChain.java 45 * The {@code KeyChain} class provides access to private keys and
48 * <p>Applications accessing the {@code KeyChain} normally go through
82 public final class KeyChain {
84 private static final String TAG = "KeyChain";
89 public static final String ACCOUNT_TYPE = "com.android.keychain";
94 private static final String ACTION_CHOOSER = "com.android.keychain.CHOOSER";
363 * Returns {@code true} if the current device's {@code KeyChain} supports a
373 * Returns {@code true} if the current device's {@code KeyChain} binds any
402 * @see KeyChain#bind
  /packages/apps/Settings/src/com/android/settings/
CredentialStorage.java 30 import android.security.KeyChain.KeyChainConnection;
31 import android.security.KeyChain;
201 return KeyChain.isBoundKeyAlgorithm(algName);
306 KeyChainConnection keyChainConnection = KeyChain.bind(CredentialStorage.this);
TrustedCredentialsSettings.java 32 import android.security.KeyChain;
33 import android.security.KeyChain.KeyChainConnection;
448 KeyChainConnection keyChainConnection = KeyChain.bind(getActivity());
  /packages/apps/Email/src/com/android/email/view/
CertificateSelector.java 24 import android.security.KeyChain;
36 * A simple view that can be used to select a certificate from the system {@link KeyChain}.
  /frameworks/base/wifi/java/android/net/wifi/
WifiEnterpriseConfig.java 22 import android.security.KeyChain;
390 * <p> See the {@link android.security.KeyChain} for details on installing or choosing
444 * <p> See the {@link android.security.KeyChain} for details on installing or choosing
517 return KeyChain.isBoundKeyAlgorithm(key.getAlgorithm());
521 return KeyChain.isBoundKeyAlgorithm(certificate.getPublicKey().getAlgorithm());
  /development/samples/Vault/src/com/example/android/vault/
VaultProvider.java 38 import android.security.KeyChain;
132 mHardwareBacked = KeyChain.isBoundKeyAlgorithm("RSA");
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickSettings.java 53 import android.security.KeyChain;
136 filter.addAction(KeyChain.ACTION_STORAGE_CHANGED);
    [all...]

Completed in 240 milliseconds

1 2