HomeSort by relevance Sort by last modified time
    Searched refs:KeyChain (Results 1 - 11 of 11) 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...]
  /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/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
CertSelectionDelegateTest.java 28 import android.security.KeyChain;
52 * requesting app (in this case, ourselves) invokes {@link KeyChain#choosePrivateKeyAlias},
110 assertThat(KeyChain.getPrivateKey(mActivity, alias).getAlgorithm()).isEqualTo("RSA");
134 KeyChain.choosePrivateKeyAlias(mActivity, this,
DirectDelegatedCertInstallerTest.java 27 import android.security.KeyChain;
181 PrivateKey obtainedKey = KeyChain.getPrivateKey(getContext(), alias);
187 assertThat(KeyChain.getPrivateKey(getContext(), alias)).isNull();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
CAInstallNotificationVerifierActivity.java 23 import android.security.KeyChain;
60 KeyChain.createInstallIntent()));
KeyChainTest.java 25 import android.security.KeyChain;
77 * Simple activity based test that exercises the KeyChain API
268 Intent intent = KeyChain.createInstallIntent();
269 intent.putExtra(KeyChain.EXTRA_NAME, CREDENTIAL_NAME);
279 intent.putExtra(KeyChain.EXTRA_PKCS12, pkcs12.toByteArray());
309 // client certificate installed into KeyChain.
387 * supplied by KeyChain.
419 * Key manager which synchronously prompts for its aliases via KeyChain
426 KeyChain.choosePrivateKeyAlias(KeyChainTest.this, aliasCallback,
452 KeyChain.getCertificateChain(KeyChainTest.this, alias)
    [all...]
  /build/make/target/product/
handheld_system.mk 53 KeyChain \
81 KeyChain \
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
KeyChainTestActivity.java 26 import android.security.KeyChain;
47 * Activity to test KeyChain key generation. The following flows are tested: * Generating a key. *
52 * select the key from the certificate selection prompt when {@code KeyChain.choosePrivateKeyAlias}
62 "com.android.cts.verifier.managedprovisioning.KEYCHAIN";
168 KeyChain.choosePrivateKeyAlias(
210 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this, alias);
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
KeyManagementTest.java 35 import android.security.KeyChain;
126 assertThat(KeyChain.getPrivateKey(mActivity, alias).getAlgorithm()).isEqualTo("RSA");
156 assertThat(KeyChain.getPrivateKey(mActivity, grant).getAlgorithm()).isEqualTo("RSA");
193 assertThat(KeyChain.getPrivateKey(mActivity, alias).getAlgorithm()).isEqualTo("RSA");
196 assertThat(KeyChain.getCertificateChain(mActivity, alias)).isEqualTo(certChain);
682 // And can be retrieved from KeyChain
683 X509Certificate[] fetchedCerts = KeyChain.getCertificateChain(mActivity, alias);
    [all...]
  /device/google/atv/products/
atv_base.mk 49 KeyChain \
  /development/samples/Vault/src/com/example/android/vault/
VaultProvider.java 38 import android.security.KeyChain;
133 mHardwareBacked = KeyChain.isBoundKeyAlgorithm("RSA");

Completed in 913 milliseconds