OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:secureRandom
(Results
1 - 17
of
17
) sorted by null
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyKeyPairGenerator2.java
27
import java.security.
SecureRandom
;
37
SecureRandom
secureRandom
;
55
public void initialize(int keysize,
SecureRandom
random) {
60
secureRandom
= random;
MyKeyPairGenerator1.java
30
import java.security.
SecureRandom
;
41
public
SecureRandom
secureRandom
;
61
public void initialize(int keysize,
SecureRandom
random) {
69
secureRandom
= random;
81
public void initialize(AlgorithmParameterSpec param,
SecureRandom
random)
90
secureRandom
= random;
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyKeyPairGenerator2.java
28
import java.security.
SecureRandom
;
38
SecureRandom
secureRandom
;
56
public void initialize(int keysize,
SecureRandom
random) {
61
secureRandom
= random;
MyKeyPairGenerator1.java
31
import java.security.
SecureRandom
;
42
public
SecureRandom
secureRandom
;
62
public void initialize(int keysize,
SecureRandom
random) {
70
secureRandom
= random;
82
public void initialize(AlgorithmParameterSpec param,
SecureRandom
random)
91
secureRandom
= random;
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/
DSAKeyPairGeneratorImpl.java
22
import java.security.
SecureRandom
;
32
private
SecureRandom
secureRandom
= null;
46
public void initialize(DSAParams params,
SecureRandom
random)
54
secureRandom
= random;
59
public void initialize(int modlen, boolean genParams,
SecureRandom
random)
82
secureRandom
= random;
/libcore/luni/src/main/java/javax/crypto/
Cipher.java
29
import java.security.
SecureRandom
;
126
private static
SecureRandom
secureRandom
;
473
if (
secureRandom
== null) {
475
// since it does not matter which
SecureRandom
instance is passed
477
secureRandom
= new
SecureRandom
();
479
init(opmode, key,
secureRandom
);
514
public final void init(int opmode, Key key,
SecureRandom
random) throws InvalidKeyException {
563
if (
secureRandom
== null)
[
all
...]
/libcore/crypto/src/main/java/org/conscrypt/
SSLParametersImpl.java
24
import java.security.
SecureRandom
;
49
private static volatile
SecureRandom
defaultSecureRandom;
64
private
SecureRandom
secureRandom
;
96
*
SecureRandom
)} for more information
99
SecureRandom
sr, ClientSessionContext clientSessionContext,
126
// defaultSecureRandom = new
SecureRandom
();
128
//
secureRandom
= defaultSecureRandom;
130
//
secureRandom
= sr;
134
// We simply use the
SecureRandom
passed in by the caller. If it'
[
all
...]
SSLSessionImpl.java
21
import java.security.
SecureRandom
;
66
public SSLSessionImpl(CipherSuite cipher_suite,
SecureRandom
secureRandom
) {
77
secureRandom
.nextBytes(id);
88
public SSLSessionImpl(
SecureRandom
secureRandom
) {
89
this(null,
secureRandom
);
OpenSSLSocketImpl.java
30
import java.security.
SecureRandom
;
261
final
SecureRandom
secureRandom
= sslParameters.getSecureRandomMember();
262
if (
secureRandom
== null) {
265
NativeCrypto.RAND_seed(
secureRandom
.generateSeed(seedLengthInBytes));
[
all
...]
/libcore/luni/src/test/java/tests/security/
SecureRandomTest.java
19
import java.security.
SecureRandom
;
42
SecureRandom
secureRandom1 = null;
44
secureRandom1 =
SecureRandom
.getInstance(algorithmName);
49
SecureRandom
secureRandom2 = null;
51
secureRandom2 =
SecureRandom
.getInstance(algorithmName);
64
private byte[] getRandomBytes(
SecureRandom
random) {
77
final
SecureRandom
secureRandom
=
SecureRandom
.getInstance(algorithmName);
85
secureRandom
.generateSeed(1024)
[
all
...]
/external/nist-sip/java/gov/nist/core/net/
SslNetworkLayer.java
39
import java.security.
SecureRandom
;
75
SecureRandom
secureRandom
= new
SecureRandom
();
76
secureRandom
.nextInt();
83
sslContext.init(kmFactory.getKeyManagers(), tmFactory.getTrustManagers(),
secureRandom
);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator1Test.java
337
* <code>initialize(int keysize,
SecureRandom
random)</code>
339
* <code>initialize(AlgorithmParameterSpec param,
SecureRandom
random)</code>
353
SecureRandom
random = new
SecureRandom
();
376
* <code>initialize(int keysize,
SecureRandom
random)</code>
378
* <code>initialize(AlgorithmParameterSpec param,
SecureRandom
random)</code>
388
SecureRandom
random = new
SecureRandom
();
419
((MyKeyPairGenerator1) mKPG).
secureRandom
);
440
((MyKeyPairGenerator1) mKPG).
secureRandom
);
[
all
...]
KeyStore2Test.java
35
import java.security.
SecureRandom
;
58
SecureRandom
secureRandom
= new
SecureRandom
();
59
keyPairGenerator.initialize(1024,
secureRandom
);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator1Test.java
33
import java.security.
SecureRandom
;
336
* <code>initialize(int keysize,
SecureRandom
random)</code>
338
* <code>initialize(AlgorithmParameterSpec param,
SecureRandom
random)</code>
352
SecureRandom
random = new
SecureRandom
();
375
* <code>initialize(int keysize,
SecureRandom
random)</code>
377
* <code>initialize(AlgorithmParameterSpec param,
SecureRandom
random)</code>
387
SecureRandom
random = new
SecureRandom
();
418
((MyKeyPairGenerator1) mKPG).
secureRandom
);
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.mortbay.jetty.server_6.1.23.v201004211559.jar
/prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar
Completed in 1057 milliseconds