Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/main/java/javax/crypto/
DKeyGeneratorSpi.java51 protected abstract void engineInit(SecureRandom random); in engineInit()
64 SecureRandom random) in engineInit()
78 protected abstract void engineInit(int keysize, SecureRandom random); in engineInit()
DKeyAgreementSpi.java85 protected abstract void engineInit(Key key, SecureRandom random) in engineInit()
105 SecureRandom random) in engineInit()
DKeyAgreement.java373 AlgorithmParameterSpec params, SecureRandom random) in implInit()
383 AlgorithmParameterSpec params, SecureRandom random) in chooseProvider()
493 public final void init(Key key, SecureRandom random) in init()
563 SecureRandom random) in init()
DNullCipherSpi.java69 protected void engineInit(int mode, Key key, SecureRandom random) {} in engineInit()
73 SecureRandom random) {} in engineInit()
77 SecureRandom random) {} in engineInit()
/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/test/java/libcore/javax/crypto/
DMockCipherSpi.java104 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
111SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
117SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
124 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
131SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
137SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
144 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
151SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
157SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { in engineInit()
164 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
[all …]
DMockKeyAgreementSpi.java82 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
87 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
/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()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyAlgorithmParameterGeneratorSpi.java39 public void engineInit(int keysize, SecureRandom random) { in engineInit()
46 SecureRandom random) { in engineInit()
DMyKeyPairGeneratorSpi.java39 public void initialize(int keysize, SecureRandom random) { in initialize()
53 public void initialize(AlgorithmParameterSpec params, SecureRandom random) in initialize()
DMyKeyPairGenerator1.java62 public void initialize(int keysize, SecureRandom random) { in initialize()
82 public void initialize(AlgorithmParameterSpec param, SecureRandom random) in initialize()
/libcore/ojluni/src/main/java/java/security/
DAlgorithmParameterGeneratorSpi.java64 protected abstract void engineInit(int size, SecureRandom random); in engineInit()
77 SecureRandom random) in engineInit()
DKeyPairGeneratorSpi.java67 public abstract void initialize(int keysize, SecureRandom random); in initialize()
92 SecureRandom random) in initialize()
DKeyPairGenerator.java395 public void initialize(int keysize, SecureRandom random) { in initialize()
465 SecureRandom random) in initialize()
668 public void initialize(int keysize, SecureRandom random) { in initialize()
695 SecureRandom random) throws InvalidAlgorithmParameterException { in initialize()
/libcore/ojluni/src/main/java/java/security/interfaces/
DDSAKeyPairGenerator.java86 public void initialize(DSAParams params, SecureRandom random) in initialize()
115 public void initialize(int modlen, boolean genParams, 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/ojluni/annotations/hiddenapi/java/security/
DKeyPairGenerator.java76 public void initialize(int keysize, java.security.SecureRandom random) { in initialize()
86 java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) in initialize()
132 public void initialize(int keysize, java.security.SecureRandom random) { in initialize()
137 java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) in initialize()

123