HomeSort by relevance Sort by last modified time
    Searched refs:SecureRandom (Results 1 - 25 of 210) sorted by null

1 2 3 4 5 6 7 8 9

  /external/bouncycastle/src/main/java/org/bouncycastle/jce/interfaces/
BCKeyStore.java 3 import java.security.SecureRandom;
13 public void setRandom(SecureRandom random);
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/
KeyGenerationParameters.java 3 import java.security.SecureRandom;
10 private SecureRandom random;
21 SecureRandom random,
34 public SecureRandom getRandom()
CipherKeyGenerator.java 3 import java.security.SecureRandom;
10 protected SecureRandom random;
  /libcore/luni/src/main/java/javax/crypto/
KeyGeneratorSpi.java 21 import java.security.SecureRandom;
58 SecureRandom random) throws InvalidAlgorithmParameterException;
69 protected abstract void engineInit(int keysize, SecureRandom random);
78 protected abstract void engineInit(SecureRandom random);
NullCipher.java 27 import java.security.SecureRandom;
43 this.init(Cipher.ENCRYPT_MODE, (Key)null, (SecureRandom)null);
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/
ParametersWithRandom.java 5 import java.security.SecureRandom;
10 private SecureRandom random;
15 SecureRandom random)
24 this(parameters, new SecureRandom());
27 public SecureRandom getRandom()
DSAKeyGenerationParameters.java 3 import java.security.SecureRandom;
13 SecureRandom random,
ECKeyGenerationParameters.java 3 import java.security.SecureRandom;
14 SecureRandom random)
  /libcore/luni/src/main/java/java/security/
AlgorithmParameterGeneratorSpi.java 38 * size and the given {@code SecureRandom}. The default parameter set
46 protected abstract void engineInit(int size, SecureRandom random);
50 * {@code AlgorithmParameterSpec} and the given {@code SecureRandom}.
60 SecureRandom random) throws InvalidAlgorithmParameterException;
KeyPairGeneratorSpi.java 45 * the given {@code SecureRandom}. The default parameter set will be used.
52 public abstract void initialize(int keysize, SecureRandom random);
56 * AlgorithmParameterSpec} and the given {@code SecureRandom}.
65 public void initialize(AlgorithmParameterSpec params, SecureRandom random)
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
SecureRandom_ImplTest.java 26 import java.security.SecureRandom;
69 SecureRandom sr = new SecureRandom();
76 SecureRandom sr = new SecureRandom();
89 * Class under test for SecureRandom getInstance(String)
93 SecureRandom.getInstance("SHA1PRNG");
100 assertNull("Non null provider", new SecureRandom().getProvider());
105 SecureRandom sr = new SecureRandom();
    [all...]
  /libcore/luni/src/main/java/java/security/interfaces/
DSAKeyPairGenerator.java 21 import java.security.SecureRandom;
40 public void initialize(DSAParams params, SecureRandom random)
65 public void initialize(int modlen, boolean genParams, SecureRandom random)
  /external/apache-harmony/security/src/test/api/java.injected/java/security/
SecureRandomTest.java 29 * Tests for <code>SecureRandom</code> constructor and methods
57 SecureRandom sr = new SecureRandom();
67 SecureRandom sr = new SecureRandom();
76 SecureRandom sr = new SecureRandom();
86 * Class under test for void SecureRandom()
89 SecureRandom sr = new SecureRandom();
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java 23 import java.security.SecureRandom;
38 SecureRandom sr1 = new SecureRandom();
41 SecureRandom sr2 = new SecureRandom(SEED_BYTES);
49 SecureRandom random = SecureRandom.getInstance("SHA1PRNG");
57 * java.security.SecureRandom#SecureRandom()
60 // Test for method java.security.SecureRandom()
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyAlgorithmParameterGeneratorSpi.java 26 import java.security.SecureRandom;
38 protected void engineInit(int keysize, SecureRandom random) {
45 SecureRandom random) {
MyKeyPairGenerator2.java 27 import java.security.SecureRandom;
37 SecureRandom secureRandom;
55 public void initialize(int keysize, SecureRandom random) {
60 secureRandom = random;
MyKeyPairGeneratorSpi.java 28 import java.security.SecureRandom;
38 public void initialize(int keysize, SecureRandom random) {
52 public void initialize(AlgorithmParameterSpec params, SecureRandom random)
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyAlgorithmParameterGeneratorSpi.java 27 import java.security.SecureRandom;
39 public void engineInit(int keysize, SecureRandom random) {
46 SecureRandom random) {
  /external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
MyKeyGeneratorSpi.java 25 import java.security.SecureRandom;
45 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random)
53 protected void engineInit(int keysize, SecureRandom random) {
60 protected void engineInit(SecureRandom random) {
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MyKeyGeneratorSpi.java 26 import java.security.SecureRandom;
46 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random)
54 protected void engineInit(int keysize, SecureRandom random) {
61 protected void engineInit(SecureRandom random) {
  /libcore/luni/src/test/java/tests/java/security/
SecureRandomTest.java 28 import java.security.SecureRandom;
34 * Tests for <code>SecureRandom</code> constructor and methods
72 SecureRandom sr = new SecureRandom();
81 SecureRandom sr = new SecureRandom();
98 * Class under test for void SecureRandom()
101 SecureRandom sr = new SecureRandom();
104 fail("incorrect SecureRandom implementation" + p.getName())
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/paddings/
BlockCipherPadding.java 3 import java.security.SecureRandom;
17 public void init(SecureRandom random)
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGeneratorSpiTest.java 26 import java.security.SecureRandom;
48 protected void engineInit(SecureRandom random) {
53 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random)
59 protected void engineInit(int keysize, SecureRandom random) {
73 kgSpi.engineInit(77, new SecureRandom());
78 kgSpi.engineInit(new SecureRandom());
84 kgSpi.engineInit(aps, new SecureRandom());
89 kgSpi.engineInit(aps, new SecureRandom());
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
KeyGeneratorSpiTest.java 27 import java.security.SecureRandom;
59 kgSpi.engineInit(77, new SecureRandom());
64 kgSpi.engineInit(new SecureRandom());
70 kgSpi.engineInit(aps, new SecureRandom());
75 kgSpi.engineInit(aps, new SecureRandom());
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java 23 import java.security.SecureRandom;
37 * @tests java.security.SecureRandom#SecureRandom()
40 // Test for method java.security.SecureRandom()
41 new SecureRandom();
45 * @tests java.security.SecureRandom#SecureRandom(byte[])
48 // Test for method java.security.SecureRandom(byte [])
49 new SecureRandom(SEED_BYTES);
53 * @tests java.security.SecureRandom#generateSeed(int
    [all...]

Completed in 1035 milliseconds

1 2 3 4 5 6 7 8 9