| 
JavaTM 2 Platform Std. Ed. v1.3.1  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SecureRandom | |
| java.security | Provides the classes and interfaces for the security framework. | 
| java.security.interfaces | Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186. | 
| Uses of SecureRandom in java.security | 
| Fields in java.security declared as SecureRandom | |
protected  SecureRandom | 
SignatureSpi.appRandom
Application-specified source of randomness.  | 
| Methods in java.security that return SecureRandom | |
static SecureRandom | 
SecureRandom.getInstance(String algorithm)
Generates a SecureRandom object that implements the specified Pseudo Random Number Generator (PRNG) algorithm.  | 
static SecureRandom | 
SecureRandom.getInstance(String algorithm,
            String provider)
Generates a SecureRandom object for the specified PRNG algorithm, as supplied from the specified provider, if such a PRNG implementation is available from the provider.  | 
| Methods in java.security with parameters of type SecureRandom | |
abstract  void | 
KeyPairGeneratorSpi.initialize(int keysize,
           SecureRandom random)
Initializes the key pair generator for a certain keysize, using the default parameter set.  | 
 void | 
KeyPairGeneratorSpi.initialize(AlgorithmParameterSpec params,
           SecureRandom random)
Initializes the key pair generator using the specified parameter set and user-provided source of randomness.  | 
 void | 
KeyPairGenerator.initialize(int keysize,
           SecureRandom random)
Initializes the key pair generator for a certain keysize with the given source of randomness (and a default parameter set).  | 
 void | 
KeyPairGenerator.initialize(AlgorithmParameterSpec params,
           SecureRandom random)
Initializes the key pair generator with the given parameter set and source of randomness.  | 
protected  void | 
SignatureSpi.engineInitSign(PrivateKey privateKey,
               SecureRandom random)
Initializes this signature object with the specified private key and source of randomness for signing operations.  | 
protected abstract  void | 
AlgorithmParameterGeneratorSpi.engineInit(int size,
           SecureRandom random)
Initializes this parameter generator for a certain size and source of randomness.  | 
protected abstract  void | 
AlgorithmParameterGeneratorSpi.engineInit(AlgorithmParameterSpec genParamSpec,
           SecureRandom random)
Initializes this parameter generator with a set of algorithm-specific parameter generation values.  | 
 void | 
AlgorithmParameterGenerator.init(int size,
     SecureRandom random)
Initializes this parameter generator for a certain size and source of randomness.  | 
 void | 
AlgorithmParameterGenerator.init(AlgorithmParameterSpec genParamSpec,
     SecureRandom random)
Initializes this parameter generator with a set of algorithm-specific parameter generation values.  | 
 void | 
Signature.initSign(PrivateKey privateKey,
         SecureRandom random)
Initialize this object for signing.  | 
| Uses of SecureRandom in java.security.interfaces | 
| Methods in java.security.interfaces with parameters of type SecureRandom | |
 void | 
DSAKeyPairGenerator.initialize(DSAParams params,
           SecureRandom random)
Initializes the key pair generator using p, q and g, the DSA family parameters.  | 
 void | 
DSAKeyPairGenerator.initialize(int modlen,
           boolean genParams,
           SecureRandom random)
Initializes the key pair generator for a given modulus length, without parameters.  | 
  | 
JavaTM 2 Platform Std. Ed. v1.3.1  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates.    All rights reserved.