| Package | Description |
|---|---|
| java.security |
Provides the classes and interfaces for the security framework.
|
| javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract AlgorithmParameters |
AlgorithmParameterGeneratorSpi.engineGenerateParameters()
Generates the parameters.
|
protected AlgorithmParameters |
SignatureSpi.engineGetParameters()
This method is overridden by providers to return the parameters used with this signature engine, or null if this signature engine does not use any parameters.
|
AlgorithmParameters |
AlgorithmParameterGenerator.generateParameters()
Generates the parameters.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String
Returns a parameter object for the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String
Returns a parameter object for the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String
Returns a parameter object for the specified algorithm.
|
AlgorithmParameters |
Signature.getParameters()
Returns the parameters used with this signature object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AlgorithmConstraints.permits(Set
Determines whether an algorithm is granted permission for the specified cryptographic primitives.
|
boolean |
AlgorithmConstraints.permits(Set
Determines whether an algorithm and the corresponding key are granted permission for the specified cryptographic primitives.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract AlgorithmParameters |
CipherSpi.engineGetParameters()
Returns the parameters used with this cipher.
|
AlgorithmParameters |
EncryptedPrivateKeyInfo.getAlgParameters()
Returns the algorithm parameters used by the encryption algorithm.
|
AlgorithmParameters |
Cipher.getParameters()
Returns the parameters used with this cipher.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
CipherSpi.engineInit(int opmode, Key
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
|
protected abstract void |
ExemptionMechanismSpi.engineInit(Key
Initializes this exemption mechanism with a key and a set of algorithm parameters.
|
void |
Cipher.init(int opmode, Key
Initializes this cipher with a key and a set of algorithm parameters.
|
void |
Cipher.init(int opmode, Key
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
|
void |
ExemptionMechanism.init(Key
Initializes this exemption mechanism with a key and a set of algorithm parameters.
|
| Constructor and Description | |
|---|---|
EncryptedPrivateKeyInfo(AlgorithmParameters
Constructs an
EncryptedPrivateKeyInfo from the encryption algorithm parameters and the encrypted data.
|