| Package | Description |
|---|---|
| java.security |
Contains core language classes related to permission management.
|
| 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 |
KeyPairGenerator.initialize(AlgorithmParameterSpec params,
SecureRandom random)
Initializes the key pair generator with the given parameter set and 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 |
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 |
MGF1ParameterSpec
This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSASSA-PSS
signature scheme, as defined in the PKCS#1 v2.2 standard.
|
class |
RSAKeyGenParameterSpec
This class specifies the set of parameters used to generate an RSA key pair.
|
| Modifier and Type | Method and Description |
|---|---|
static AlgorithmParameterSpec |
Cipher.getMaxAllowedParameterSpec(java.lang.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).
|
class |
OAEPParameterSpec
This class specifies the set of parameters used with OAEP Padding, as defined in the
PKCS#1 v2.2 standard.
|
class |
PBEParameterSpec
This class specifies the set of parameters used with password-based encryption (PBE), as defined in the
PKCS #5 standard.
|
| Modifier and Type | Method and Description |
|---|---|
AlgorithmParameterSpec |
OAEPParameterSpec.getMGFParameters()
Returns the parameters for the mask generation function.
|
AlgorithmParameterSpec |
PBEParameterSpec.getParameterSpec()
Returns the cipher algorithm parameter specification.
|
| Constructor and Description |
|---|
OAEPParameterSpec(java.lang.String mdName,
java.lang.String mgfName,
AlgorithmParameterSpec mgfSpec,
PSource pSrc)
Constructs a parameter set for OAEP padding as defined in the PKCS #1 standard using the specified message digest
algorithm
mdName, mask generation function algorithm mgfName, parameters for the mask generation
function mgfSpec, and source of the encoding input P pSrc. |
PBEParameterSpec(byte[] salt,
int iterationCount,
AlgorithmParameterSpec paramSpec)
Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.
|