Home
last modified time | relevance | path

Searched defs:random (Results 1 – 25 of 48) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyKeyGeneratorSpi.java46 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) in engineInit()
54 protected void engineInit(int keysize, SecureRandom random) { in engineInit()
61 protected void engineInit(SecureRandom random) { in engineInit()
DMyKeyAgreementSpi.java75 protected void engineInit(Key key, SecureRandom random) in engineInit()
82 SecureRandom random) throws InvalidKeyException, in engineInit()
DMyCipher.java83 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
89 AlgorithmParameterSpec params, SecureRandom random) in engineInit()
95 SecureRandom random) throws InvalidKeyException, in engineInit()
/libcore/luni/src/main/java/javax/crypto/
DKeyGeneratorSpi.java58 SecureRandom random) throws InvalidAlgorithmParameterException; in engineInit()
69 protected abstract void engineInit(int keysize, SecureRandom random); in engineInit()
78 protected abstract void engineInit(SecureRandom random); in engineInit()
DKeyAgreementSpi.java118 protected abstract void engineInit(Key key, SecureRandom random) in engineInit()
139 SecureRandom random) throws InvalidKeyException, in engineInit()
DKeyGenerator.java204 public final void init(AlgorithmParameterSpec params, SecureRandom random) in init()
229 public final void init(int keysize, SecureRandom random) { in init()
240 public final void init(SecureRandom random) { in init()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorSpiTest.java48 protected void engineInit(SecureRandom random) { in engineInit()
53 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) in engineInit()
59 protected void engineInit(int keysize, SecureRandom random) { in engineInit()
DKeyAgreementSpiTest.java71 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
76 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
DKeyAgreementTest.java351 SecureRandom random = new SecureRandom(); in testDoPhase() local
397 SecureRandom random = null; in testInit01() local
450 SecureRandom random = null; in testInit02() local
493 SecureRandom random = new SecureRandom(); in testInit03() local
542 SecureRandom random = new SecureRandom(); in testInit04() local
DMockKeyAgreementSpi.java80 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
85 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
DCipherSpiTest.java83 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
90SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
96SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
340 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
345 AlgorithmParameterSpec params, SecureRandom random) in engineInit()
350 SecureRandom random) throws InvalidKeyException, in engineInit()
/libcore/luni/src/main/java/java/security/interfaces/
DDSAKeyPairGenerator.java40 public void initialize(DSAParams params, SecureRandom random) in initialize()
65 public void initialize(int modlen, boolean genParams, SecureRandom random) in initialize()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyPairGeneratorSpi.java39 public void initialize(int keysize, SecureRandom random) { in initialize()
53 public void initialize(AlgorithmParameterSpec params, SecureRandom random) in initialize()
DMyAlgorithmParameterGeneratorSpi.java39 public void engineInit(int keysize, SecureRandom random) { in engineInit()
46 SecureRandom random) { in engineInit()
DMyKeyPairGenerator1.java62 public void initialize(int keysize, SecureRandom random) { in initialize()
82 public void initialize(AlgorithmParameterSpec param, SecureRandom random) in initialize()
/libcore/luni/src/main/java/java/security/
DKeyPairGeneratorSpi.java52 public abstract void initialize(int keysize, SecureRandom random); in initialize()
65 public void initialize(AlgorithmParameterSpec params, SecureRandom random) in initialize()
DAlgorithmParameterGeneratorSpi.java46 protected abstract void engineInit(int size, SecureRandom random); in engineInit()
60 SecureRandom random) throws InvalidAlgorithmParameterException; in engineInit()
DKeyPairGenerator.java230 public void initialize(int keysize, SecureRandom random) { in initialize()
245 public void initialize(AlgorithmParameterSpec param, SecureRandom random) in initialize()
268 public void initialize(int keysize, SecureRandom random) { in initialize()
282 public void initialize(AlgorithmParameterSpec param, SecureRandom random) in initialize()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactory2Test.java113 SecureRandom random = new SecureRandom(); // We don't use in test_generatePrivateLjava_security_spec_KeySpec() local
115 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_generatePrivateLjava_security_spec_KeySpec() local
144 SecureRandom random = new SecureRandom(); in test_generatePublicLjava_security_spec_KeySpec() local
145 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_generatePublicLjava_security_spec_KeySpec() local
236 SecureRandom random = new SecureRandom(); in test_getKeySpecLjava_security_KeyLjava_lang_Class() local
237 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_getKeySpecLjava_security_KeyLjava_lang_Class() local
293 SecureRandom random = new SecureRandom(); in test_translateKeyLjava_security_Key() local
294 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_translateKeyLjava_security_Key() local
DKeyPairGenerator1Test.java352 SecureRandom random = new SecureRandom(); in testKeyPairGenerator11() local
387 SecureRandom random = new SecureRandom(); in testKeyPairGenerator12() local
463 SecureRandom random = new SecureRandom(); in testKeyPairGenerator13() local
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/
DDSAKeyPairGeneratorImpl.java46 public void initialize(DSAParams params, SecureRandom random) in initialize()
59 public void initialize(int modlen, boolean genParams, SecureRandom random) in initialize()
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAKeyPairGeneratorTest.java49 SecureRandom random = null; in test_DSAKeyPairGenerator01() local
88 SecureRandom random = null; in test_DSAKeyPairGenerator02() local
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java97 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
103 SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
108 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) in engineInit()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyGeneratorThread.java53 SecureRandom random = new SecureRandom(); in test() local
/libcore/luni/src/main/java/org/apache/harmony/crypto/internal/
DNullCipherSpi.java76 public void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
83 SecureRandom random) throws InvalidKeyException, in engineInit()
90 SecureRandom random) throws InvalidKeyException, in engineInit()

12