Package | Description |
---|---|
java.security |
Contains core language classes related to permission management.
|
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 |
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. |