| Package | Description | 
|---|---|
| java.security | |
| javax.crypto | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
SignatureSpi.engineSetParameter(AlgorithmParameterSpec params)
 This method is overridden by providers to initialize this signature engine with the specified parameter set. 
 | 
void | 
KeyPairGenerator.initialize(AlgorithmParameterSpec params)
Initializes the key pair generator using the specified parameter set and the  
SecureRandom implementation
 of the highest-priority installed provider as the source of randomness. | 
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(AlgorithmParameterSpec params,
          SecureRandom random)
Initializes the key pair generator with the given parameter set and source of randomness. 
 | 
void | 
Signature.setParameter(AlgorithmParameterSpec params)
Initializes this signature engine with the specified parameter set. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Cipher.init(int opmode,
    Key key,
    AlgorithmParameterSpec params)
Initializes this cipher with a key and a set of algorithm parameters. 
 | 
void | 
Cipher.init(int opmode,
    Key key,
    AlgorithmParameterSpec params,
    SecureRandom random)
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness. 
 | 
void | 
Mac.init(Key key,
    AlgorithmParameterSpec params)
Initializes this  
Mac object with the given key and algorithm parameters. |