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

  /dalvik/libcore/support/src/test/java/targets/
KeyGenerator.java 23 public interface KeyGenerator {
  /dalvik/libcore/crypto/src/main/java/javax/crypto/
KeyGenerator.java 36 public class KeyGenerator {
39 private static final Engine engine = new Engine("KeyGenerator"); //$NON-NLS-1$
54 * Creates a new {@code KeyGenerator} instance.
63 protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider,
80 * Returns the provider of this {@code KeyGenerator} instance.
82 * @return the provider of this {@code KeyGenerator} instance.
89 * Creates a new {@code KeyGenerator} instance that provides the specified
94 * @return the new {@code KeyGenerator} instance.
100 public static final KeyGenerator getInstance(String algorithm)
107 return new KeyGenerator((KeyGeneratorSpi) engine.spi, engine.provider
    [all...]
  /dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGeneratorTest.java 42 import javax.crypto.KeyGenerator;
53 @TestTargetClass(KeyGenerator.class)
55 * Tests for KeyGenerator constructor and methods
61 public static final String srvKeyGenerator = "KeyGenerator";
78 private static final String NotSupportMsg = "There is no suitable provider for KeyGenerator";
101 private KeyGenerator[] createKGs() throws Exception {
106 KeyGenerator [] kg = new KeyGenerator[3];
107 kg[0] = KeyGenerator.getInstance(defaultAlgorithm);
108 kg[1] = KeyGenerator.getInstance(defaultAlgorithm, defaultProvider)
    [all...]
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 419 milliseconds