Package | Description |
---|---|
java.security | |
java.security.spec | |
javax.crypto | |
javax.crypto.spec |
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 | Class and Description |
---|---|
class |
ECGenParameterSpec
This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.
|
class |
RSAKeyGenParameterSpec |
Modifier and Type | Method and Description |
---|---|
static AlgorithmParameterSpec |
Cipher.getMaxAllowedParameterSpec(String transformation)
Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the
jurisdiction policy file.
|
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. |
Modifier and Type | Class and Description |
---|---|
class |
IvParameterSpec
This class specifies an initialization vector (IV).
|