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

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
MD5.java 31 public static class KeyGenerator
34 public KeyGenerator()
73 addHMACAlgorithm(provider, "MD5", PREFIX + "$HashMac", PREFIX + "$KeyGenerator");
SHA256.java 65 public static class KeyGenerator
68 public KeyGenerator()
95 addHMACAlgorithm(provider, "SHA256", PREFIX + "$HashMac", PREFIX + "$KeyGenerator");
SHA384.java 53 public static class KeyGenerator
56 public KeyGenerator()
91 addHMACAlgorithm(provider, "SHA384", PREFIX + "$HashMac", PREFIX + "$KeyGenerator");
SHA512.java 127 public static class KeyGenerator
130 public KeyGenerator()
183 addHMACAlgorithm(provider, "SHA512", PREFIX + "$HashMac", PREFIX + "$KeyGenerator");
SHA1.java 62 public static class KeyGenerator
65 public KeyGenerator()
184 addHMACAlgorithm(provider, "SHA1", PREFIX + "$HashMac", PREFIX + "$KeyGenerator");
  /libcore/luni/src/main/java/javax/crypto/
KeyGenerator.java 34 public class KeyGenerator {
37 private static final Engine ENGINE = new Engine("KeyGenerator");
52 * Creates a new {@code KeyGenerator} instance.
61 protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider,
78 * Returns the provider of this {@code KeyGenerator} instance.
80 * @return the provider of this {@code KeyGenerator} instance.
87 * Creates a new {@code KeyGenerator} instance that provides the specified
92 * @return the new {@code KeyGenerator} instance.
98 public static final KeyGenerator getInstance(String algorithm)
104 return new KeyGenerator((KeyGeneratorSpi) sap.spi, sap.provider, algorithm)
    [all...]
  /external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGenerator_ImplTest.java 34 import javax.crypto.KeyGenerator;
41 * Tests for <code>KeyGenerator</code> class constructors and methods
47 private static final String srvKeyGenerator = "KeyGenerator";
83 private void checkResult(KeyGenerator keyGen) {
130 * returns KeyGenerator object
135 KeyGenerator.getInstance(null);
142 KeyGenerator.getInstance(invalidValues[i]);
148 KeyGenerator keyGen;
150 keyGen = KeyGenerator.getInstance(validValues[i]);
166 * returns KeyGenerator objec
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DESede.java 157 public static class KeyGenerator
162 public KeyGenerator()
397 provider.addAlgorithm("Alg.Alias.KeyGenerator.TDEA", "DESEDE");
422 provider.addAlgorithm("KeyGenerator.DESEDE", PREFIX + "$KeyGenerator");
424 // provider.addAlgorithm("KeyGenerator." + PKCSObjectIdentifiers.des_EDE3_CBC, PREFIX + "$KeyGenerator3");
425 // provider.addAlgorithm("KeyGenerator.DESEDEWRAP", PREFIX + "$KeyGenerator");
DES.java 209 public static class KeyGenerator
212 public KeyGenerator()
460 provider.addAlgorithm("KeyGenerator.DES", PREFIX + "$KeyGenerator");
527 provider.addAlgorithm("Alg.Alias.KeyGenerator." + oid.getId(), name);
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGeneratorTest.java 32 import javax.crypto.KeyGenerator;
43 * Tests for KeyGenerator constructor and methods
49 public static final String srvKeyGenerator = "KeyGenerator";
66 private static final String NotSupportMsg = "There is no suitable provider for KeyGenerator";
89 private KeyGenerator[] createKGs() throws Exception {
94 KeyGenerator [] kg = new KeyGenerator[3];
95 kg[0] = KeyGenerator.getInstance(defaultAlgorithm);
96 kg[1] = KeyGenerator.getInstance(defaultAlgorithm, defaultProvider);
97 kg[2] = KeyGenerator.getInstance(defaultAlgorithm, defaultProviderName)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGeneratorTest.java 37 import javax.crypto.KeyGenerator;
49 * Tests for KeyGenerator constructor and methods
54 public static final String srvKeyGenerator = "KeyGenerator";
71 private static final String NotSupportMsg = "There is no suitable provider for KeyGenerator";
94 private KeyGenerator[] createKGs() throws Exception {
99 KeyGenerator [] kg = new KeyGenerator[3];
100 kg[0] = KeyGenerator.getInstance(defaultAlgorithm);
101 kg[1] = KeyGenerator.getInstance(defaultAlgorithm, defaultProvider);
102 kg[2] = KeyGenerator.getInstance(defaultAlgorithm, defaultProviderName)
    [all...]
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 
  /prebuilts/sdk/tools/lib/
signapk.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 285 milliseconds