HomeSort by relevance Sort by last modified time
    Searched defs:KeyChain (Results 1 - 15 of 15) sorted by null

  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyChainTest.java 21 import android.security.KeyChain;
29 assertFalse("DSA must not be supported", KeyChain.isKeyAlgorithmSupported("DSA"));
30 assertTrue("EC must be supported", KeyChain.isKeyAlgorithmSupported("EC"));
31 assertTrue("RSA must be supported", KeyChain.isKeyAlgorithmSupported("RSA"));
37 KeyChain.getPrivateKey(null, null);
39 + "KeyChain.getPrivateKey(Context, String)");
47 KeyChain.getPrivateKey(getContext(), null);
49 + "KeyChain.getPrivateKey(Context, String).");
57 KeyChain.getPrivateKey(null, "");
59 + "KeyChain.getPrivateKey(Context, String).")
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
CertificateRequestor.java 24 import android.security.KeyChain;
28 * A headless Activity which simply calls into the framework {@link KeyChain} service to select
49 KeyChain.choosePrivateKeyAlias(
  /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...]
  /frameworks/base/keystore/java/android/security/
KeyChain.java 53 * The {@code KeyChain} class provides access to private keys and
56 * <p>Applications accessing the {@code KeyChain} normally go through
90 public final class KeyChain {
95 public static final String ACCOUNT_TYPE = "com.android.keychain";
98 * Package name for KeyChain chooser.
100 private static final String KEYCHAIN_PACKAGE = "com.android.keychain";
105 private static final String ACTION_CHOOSER = "com.android.keychain.CHOOSER";
434 * Returns {@code true} if the current device's {@code KeyChain} supports a
446 * Returns {@code true} if the current device's {@code KeyChain} binds any
455 * PrivateKey key = ...; // private key from KeyChain
    [all...]
  /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...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
KeyChainTest.java 25 import android.security.KeyChain;
72 * Simple activity based test that exercises the KeyChain API
250 Intent intent = KeyChain.createInstallIntent();
251 intent.putExtra(KeyChain.EXTRA_NAME, TAG);
260 intent.putExtra(KeyChain.EXTRA_PKCS12, pkcs12.toByteArray());
319 * supplied by KeyChain. Server authentication uses default trust management: the client
352 * Key manager which synchronously prompts for its aliases via KeyChain
359 KeyChain.choosePrivateKeyAlias(KeyChainTest.this, aliasCallback,
385 KeyChain.getCertificateChain(KeyChainTest.this, alias);
419 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTest.this, alias)
    [all...]
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/20/
android.jar 
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 266 milliseconds