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

  /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/src/main/java/org/bouncycastle/jce/provider/symmetric/
DESede.java 143 public static class KeyGenerator
148 public KeyGenerator()
287 put("KeyGenerator.DESEDE", "org.bouncycastle.jce.provider.symmetric.DESede$KeyGenerator");
289 // put("KeyGenerator." + PKCSObjectIdentifiers.des_EDE3_CBC, "org.bouncycastle.jce.provider.symmetric.DESede$KeyGenerator3");
290 // put("KeyGenerator.DESEDEWRAP", "org.bouncycastle.jce.provider.symmetric.DESede$KeyGenerator");
  /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...]
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 55 milliseconds