HomeSort by relevance Sort by last modified time
    Searched refs:keyGen (Results 1 - 12 of 12) sorted by null

  /external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGenerator_ImplTest.java 82 private void checkResult(KeyGenerator keyGen) {
86 keyGen.init(0, new SecureRandom());
91 keyGen.init(77, new SecureRandom());
95 keyGen.init(78, new SecureRandom());
97 keyGen.init(new SecureRandom());
101 assertNull("generateKey must return null", keyGen.generateKey());
103 keyGen.init(paramsNull, new SecureRandom());
108 keyGen.init(params, new SecureRandom());
113 keyGen.init(paramsNull);
118 keyGen.init(params)
    [all...]
  /libcore/luni/src/test/java/tests/security/interfaces/
DSAPublicKeyTest.java 38 KeyPairGenerator keyGen = null;
44 keyGen = KeyPairGenerator.getInstance("DSA");
45 keyGen.initialize(new DSAParameterSpec(Util.P, Util.Q, Util.G),
48 keys = keyGen.generateKeyPair();
55 keyGen = KeyPairGenerator.getInstance("DSA");
56 keys = keyGen.generateKeyPair();
DSAPrivateKeyTest.java 34 KeyPairGenerator keyGen = KeyPairGenerator.getInstance("DSA");
35 keyGen.initialize(new DSAParameterSpec(Util.P, Util.Q, Util.G),
38 KeyPair keyPair = keyGen.generateKeyPair();
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 98 KeyPairGenerator keyGen = KeyPairGenerator
102 keyGen.initialize(1024, random);
104 KeyPair keys = keyGen.generateKeyPair();
139 KeyPairGenerator keyGen = KeyPairGenerator
143 keyGen.initialize(1024, random);
145 KeyPair keys = keyGen.generateKeyPair();
247 KeyPairGenerator keyGen = KeyPairGenerator
252 keyGen.initialize(1024, random);
254 KeyPair keys = keyGen.generateKeyPair();
321 KeyPairGenerator keyGen = KeyPairGenerato
    [all...]
Signature2Test.java 37 KeyPairGenerator keyGen = KeyPairGenerator.getInstance("DSA");
38 keyGen.initialize(1024);
39 keys = keyGen.generateKeyPair();
KeyStoreTest.java 253 KeyGenerator keyGen = KeyGenerator.getInstance("DES");
254 keyGen.init(56);
255 SecretKey secretKey = keyGen.generateKey();
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
EncodedKeySpec2Test.java 38 KeyPairGenerator keyGen = KeyPairGenerator.getInstance("DSA");
40 keyGen.initialize(1024);
41 KeyPair keys = keyGen.generateKeyPair();
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
KeyAgreementThread.java 38 KeyPairGenerator keyGen = KeyPairGenerator.getInstance("DH");
39 keyGen.initialize(parameterSpec);
40 KeyPair keypair = keyGen.generateKeyPair();
  /libcore/luni/src/test/java/tests/security/spec/
EncodedKeySpec2Test.java 39 KeyPairGenerator keyGen = KeyPairGenerator.getInstance("DSA");
41 keyGen.initialize(1024);
42 KeyPair keys = keyGen.generateKeyPair();
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 112 KeyPairGenerator keyGen = KeyPairGenerator.getInstance(keyfactAlgs[i]);
115 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random);
117 KeyPair keys = keyGen.generateKeyPair();
141 KeyPairGenerator keyGen = KeyPairGenerator
145 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random);
147 KeyPair keys = keyGen.generateKeyPair();
232 KeyPairGenerator keyGen = KeyPairGenerator
237 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random);
239 KeyPair keys = keyGen.generateKeyPair();
289 KeyPairGenerator keyGen = KeyPairGenerato
    [all...]
Signature2Test.java 51 KeyPairGenerator keyGen = KeyPairGenerator.getInstance("DSA");
52 keyGen.initialize(1024);
53 DSA_KEYS = keyGen.generateKeyPair();
60 KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA");
61 keyGen.initialize(1024);
62 RSA_KEYS = keyGen.generateKeyPair();
KeyStoreTest.java 254 KeyGenerator keyGen = KeyGenerator.getInstance("DES");
255 keyGen.init(56);
256 SecretKey secretKey = keyGen.generateKey();

Completed in 810 milliseconds