OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SecureRandom
(Results
51 - 75
of
209
) sorted by null
1
2
3
4
5
6
7
8
9
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
AlgorithmParameterGeneratorSpi.java
6
import java.security.
SecureRandom
;
21
protected
SecureRandom
random;
31
SecureRandom
random)
54
SecureRandom
random)
KeyPairGeneratorSpi.java
6
import java.security.
SecureRandom
;
40
SecureRandom
random = CryptoServicesRegistrar.getSecureRandom();
50
SecureRandom
random)
57
// Android-added: Treat null
SecureRandom
as default
59
random = new
SecureRandom
();
81
SecureRandom
random)
90
// Android-added: Treat null
SecureRandom
as default
92
random = new
SecureRandom
();
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
AlgorithmParameterGeneratorSpi.java
6
import java.security.
SecureRandom
;
24
protected
SecureRandom
random;
31
SecureRandom
random)
39
SecureRandom
random)
KeyPairGeneratorSpi.java
6
import java.security.
SecureRandom
;
37
SecureRandom
random = CryptoServicesRegistrar.getSecureRandom();
47
SecureRandom
random)
56
SecureRandom
random)
78
private DHKeyGenerationParameters convertParams(
SecureRandom
random, DHParameterSpec dhParams)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DHParametersHelper.java
4
import java.security.
SecureRandom
;
24
static BigInteger[] generateSafePrimes(int size, int certainty,
SecureRandom
random)
81
static BigInteger selectGenerator(BigInteger p, BigInteger q,
SecureRandom
random)
DHKeyGeneratorHelper.java
4
import java.security.
SecureRandom
;
21
BigInteger calculatePrivate(DHParameters dhParams,
SecureRandom
random)
DSAKeyPairGenerator.java
4
import java.security.
SecureRandom
;
47
private static BigInteger generatePrivateKey(BigInteger q,
SecureRandom
random)
/external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLRSAKeyPairGenerator.java
25
import java.security.
SecureRandom
;
59
public void initialize(int keysize,
SecureRandom
random) {
64
public void initialize(AlgorithmParameterSpec params,
SecureRandom
random)
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
OpenSSLRSAKeyPairGenerator.java
26
import java.security.
SecureRandom
;
65
public void initialize(int keysize,
SecureRandom
random) {
70
public void initialize(AlgorithmParameterSpec params,
SecureRandom
random)
KeyGeneratorImpl.java
21
import java.security.
SecureRandom
;
37
protected
SecureRandom
secureRandom
;
52
protected void engineInit(
SecureRandom
secureRandom
) {
53
this.
secureRandom
=
secureRandom
;
57
protected void engineInit(AlgorithmParameterSpec params,
SecureRandom
secureRandom
)
68
protected void engineInit(int keySize,
SecureRandom
secureRandom)
[
all
...]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
KeyPairGeneratorSpi.java
7
import java.security.
SecureRandom
;
48
SecureRandom
random)
53
(random != null) ? random : new
SecureRandom
(), strength, PrimeCertaintyCalculator.getDefaultCertainty(strength));
60
SecureRandom
random)
73
(random != null) ? random : new
SecureRandom
(), rsaParams.getKeysize(), PrimeCertaintyCalculator.getDefaultCertainty(2048));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DSASigner.java
4
import java.security.
SecureRandom
;
26
private
SecureRandom
random;
50
SecureRandom
providedRandom = null;
170
protected
SecureRandom
initSecureRandom(boolean needed,
SecureRandom
provided)
175
private BigInteger getRandomizer(BigInteger q,
SecureRandom
provided)
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dsa/
KeyPairGeneratorSpi.java
7
import java.security.
SecureRandom
;
44
SecureRandom
random = CryptoServicesRegistrar.getSecureRandom();
54
SecureRandom
random)
61
// Android-added: Treat null
SecureRandom
as default
63
random = new
SecureRandom
();
85
SecureRandom
random)
94
// Android-added: Treat null
SecureRandom
as default
96
random = new
SecureRandom
();
AlgorithmParameterGeneratorSpi.java
7
import java.security.
SecureRandom
;
25
protected
SecureRandom
random;
35
SecureRandom
random)
58
SecureRandom
random)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
DefaultJcaJceHelper.java
9
import java.security.
SecureRandom
;
101
public
SecureRandom
createSecureRandom(String algorithm)
104
return
SecureRandom
.getInstance(algorithm);
NamedJcaJceHelper.java
10
import java.security.
SecureRandom
;
108
public
SecureRandom
createSecureRandom(String algorithm)
111
return
SecureRandom
.getInstance(algorithm, providerName);
ProviderJcaJceHelper.java
10
import java.security.
SecureRandom
;
108
public
SecureRandom
createSecureRandom(String algorithm)
111
return
SecureRandom
.getInstance(algorithm, provider);
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DHParametersHelper.java
5
import java.security.
SecureRandom
;
25
static BigInteger[] generateSafePrimes(int size, int certainty,
SecureRandom
random)
82
static BigInteger selectGenerator(BigInteger p, BigInteger q,
SecureRandom
random)
DHKeyGeneratorHelper.java
5
import java.security.
SecureRandom
;
22
BigInteger calculatePrivate(DHParameters dhParams,
SecureRandom
random)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyPairGeneratorSpi.java
5
import java.security.
SecureRandom
;
33
SecureRandom
random = CryptoServicesRegistrar.getSecureRandom();
43
SecureRandom
random)
52
SecureRandom
random)
74
private DHKeyGenerationParameters convertParams(
SecureRandom
random, DHParameterSpec dhParams)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
BigIntegers.java
4
import java.security.
SecureRandom
;
80
SecureRandom
random)
139
public static BigInteger createRandomBigInteger(int bitLength,
SecureRandom
random)
151
public static BigInteger createRandomPrime(int bitLength, int certainty,
SecureRandom
random)
183
private static byte[] createRandom(int bitLength,
SecureRandom
random)
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
BigIntegers.java
5
import java.security.
SecureRandom
;
82
SecureRandom
random)
141
public static BigInteger createRandomBigInteger(int bitLength,
SecureRandom
random)
153
public static BigInteger createRandomPrime(int bitLength, int certainty,
SecureRandom
random)
185
private static byte[] createRandom(int bitLength,
SecureRandom
random)
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
AlarmStorage.java
24
import java.security.
SecureRandom
;
36
private static final
SecureRandom
SECURE_RANDOM = new
SecureRandom
();
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
AlarmStorage.java
24
import java.security.
SecureRandom
;
36
private static final
SecureRandom
SECURE_RANDOM = new
SecureRandom
();
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
AlarmStorage.java
24
import java.security.
SecureRandom
;
36
private static final
SecureRandom
SECURE_RANDOM = new
SecureRandom
();
Completed in 666 milliseconds
1
2
3
4
5
6
7
8
9