HomeSort by relevance Sort by last modified time
    Searched refs:KeyGenerator (Results 26 - 50 of 73) sorted by null

12 3

  /libcore/benchmarks/src/benchmarks/regression/
CipherBenchmark.java 25 import javax.crypto.KeyGenerator;
106 KeyGenerator generator = KeyGenerator.getInstance(keyAlgorithm);
  /frameworks/base/services/core/java/com/android/server/accounts/
CryptoHelper.java 15 import javax.crypto.KeyGenerator;
48 KeyGenerator kgen = KeyGenerator.getInstance(KEY_ALGORITHM);
51 kgen = KeyGenerator.getInstance(MAC_ALGORITHM);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
ScreenLockBoundKeysTest.java 49 import javax.crypto.KeyGenerator;
117 KeyGenerator keyGenerator = KeyGenerator.getInstance(
122 keyGenerator.init(new KeyGenParameterSpec.Builder(KEY_NAME,
130 keyGenerator.generateKey();
FingerprintBoundKeysTest.java 57 import javax.crypto.KeyGenerator;
133 KeyGenerator keyGenerator = KeyGenerator.getInstance(
138 keyGenerator.init(new KeyGenParameterSpec.Builder(KEY_NAME,
144 keyGenerator.generateKey();
  /developers/build/prebuilts/gradle/ConfirmCredential/Application/src/main/java/com/example/android/confirmcredential/
MainActivity.java 46 import javax.crypto.KeyGenerator;
143 KeyGenerator keyGenerator = KeyGenerator.getInstance(
148 keyGenerator.init(new KeyGenParameterSpec.Builder(KEY_NAME,
156 keyGenerator.generateKey();
  /developers/samples/android/security/ConfirmCredential/Application/src/main/java/com/example/android/confirmcredential/
MainActivity.java 46 import javax.crypto.KeyGenerator;
143 KeyGenerator keyGenerator = KeyGenerator.getInstance(
148 keyGenerator.init(new KeyGenParameterSpec.Builder(KEY_NAME,
156 keyGenerator.generateKey();
  /development/samples/browseable/ConfirmCredential/src/com.example.android.confirmcredential/
MainActivity.java 46 import javax.crypto.KeyGenerator;
143 KeyGenerator keyGenerator = KeyGenerator.getInstance(
148 keyGenerator.init(new KeyGenParameterSpec.Builder(KEY_NAME,
156 keyGenerator.generateKey();
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherOutputStream1Test.java 35 import javax.crypto.KeyGenerator;
197 KeyGenerator kg = KeyGenerator.getInstance("DES");
ExemptionMechanismTest.java 35 import javax.crypto.KeyGenerator;
435 KeyGenerator kg = KeyGenerator.getInstance("DES");
476 KeyGenerator kg = KeyGenerator.getInstance("DES");
517 KeyGenerator kg = KeyGenerator.getInstance("DES");
CipherInputStream1Test.java 32 import javax.crypto.KeyGenerator;
255 KeyGenerator kg = KeyGenerator.getInstance("DES");
SecretKeyFactoryTest.java 34 import javax.crypto.KeyGenerator;
453 KeyGenerator kg = null;
461 kg = KeyGenerator.getInstance(secKF.getAlgorithm());
EncryptedPrivateKeyInfoTest.java 46 import javax.crypto.KeyGenerator;
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
SHA1.java 62 public static class KeyGenerator
65 public KeyGenerator()
184 addHMACAlgorithm(provider, "SHA1", PREFIX + "$HashMac", PREFIX + "$KeyGenerator");
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
AuthenticationBoundKeyTestActivity.java 42 import javax.crypto.KeyGenerator;
224 KeyGenerator keyGenerator = KeyGenerator.getInstance(
226 keyGenerator.init(builder.build());
227 keyGenerator.generateKey();
  /developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/
MainActivity.java 53 import javax.crypto.KeyGenerator;
70 private KeyGenerator mKeyGenerator;
84 mKeyGenerator = KeyGenerator
87 throw new RuntimeException("Failed to get an instance of KeyGenerator", e);
  /developers/samples/android/security/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/
MainActivity.java 53 import javax.crypto.KeyGenerator;
70 private KeyGenerator mKeyGenerator;
84 mKeyGenerator = KeyGenerator
87 throw new RuntimeException("Failed to get an instance of KeyGenerator", e);
  /development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
MainActivity.java 53 import javax.crypto.KeyGenerator;
70 private KeyGenerator mKeyGenerator;
84 mKeyGenerator = KeyGenerator
87 throw new RuntimeException("Failed to get an instance of KeyGenerator", e);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStoreTest.java 45 import javax.crypto.KeyGenerator;
253 KeyGenerator keyGen = KeyGenerator.getInstance("DES");
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStoreTest.java 45 import javax.crypto.KeyGenerator;
254 KeyGenerator keyGen = KeyGenerator.getInstance("DES");
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DESede.java 156 public static class KeyGenerator
161 public KeyGenerator()
397 provider.addAlgorithm("Alg.Alias.KeyGenerator.TDEA", "DESEDE");
427 provider.addAlgorithm("KeyGenerator.DESEDE", PREFIX + "$KeyGenerator");
429 // provider.addAlgorithm("KeyGenerator." + PKCSObjectIdentifiers.des_EDE3_CBC, PREFIX + "$KeyGenerator3");
430 // provider.addAlgorithm("KeyGenerator.DESEDEWRAP", PREFIX + "$KeyGenerator");
DES.java 208 public static class KeyGenerator
211 public KeyGenerator()
459 provider.addAlgorithm("KeyGenerator.DES", PREFIX + "$KeyGenerator");
532 provider.addAlgorithm("Alg.Alias.KeyGenerator." + oid.getId(), name);
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherTest.java 35 import javax.crypto.KeyGenerator;
52 KeyGenerator kg = KeyGenerator.getInstance(algorithm);
EncryptedPrivateKeyInfoTest.java 43 import javax.crypto.KeyGenerator;
    [all...]
  /frameworks/base/keystore/java/android/security/keystore/
KeyGenParameterSpec.java 35 import javax.crypto.KeyGenerator;
41 * {@link KeyGenerator} of the <a href="{@docRoot}training/articles/keystore.html">Android Keystore
49 * the {@link Builder}, initialize a {@code KeyPairGenerator} or a {@code KeyGenerator} of the
53 * {@link KeyGenerator#generateKey()} or {@link KeyPairGenerator#generateKeyPair()}.
196 * KeyGenerator keyGenerator = KeyGenerator.getInstance(
198 * keyGenerator.initialize(
204 * SecretKey key = keyGenerator.generateKey();
220 * KeyGenerator keyGenerator = KeyGenerator.getInstance
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyAttestationTest.java 82 import javax.crypto.KeyGenerator;
    [all...]

Completed in 2824 milliseconds

12 3