Uses of Interface java.security.spec.AlgorithmParameterSpec

Uses in package javax.crypto

Methods with parameter type java.security.spec.AlgorithmParameterSpec

void
CipherSpi.engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
Initializes this cipher with an operation mode, key, parameters, and source of randomness.
void
Initialize this mechanism with a key and parameters.
void
Initialize (or re-initialize) this instance.
void
Initialize this key agreement with a key, parameters, and source of randomness.
void
Initialize this key generator with parameters and a source of randomness.
void
Cipher.init(int opmode, Key key, AlgorithmParameterSpec params)
Initialize this cipher with the supplied key and parameters.

The cipher will be initialized for encryption, decryption, key wrapping, or key unwrapping, depending upon whether the opmode argument is ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE, or UNWRAP_MODE, respectively.

If this cipher requires any random bytes (for example for an initilization vector) then the SecureRandom with the highest priority is used as the source of these bytes.

A call to any of the init methods overrides the state of the instance, and is equivalent to creating a new instance and calling its init method.

void
Cipher.init(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
Initialize this cipher with the supplied key, parameters, and source of randomness.

The cipher will be initialized for encryption, decryption, key wrapping, or key unwrapping, depending upon whether the opmode argument is ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE, or UNWRAP_MODE, respectively.

A call to any of the init methods overrides the state of the instance, and is equivalent to creating a new instance and calling its init method.

void
void
Initialize this key agreement with a key and parameters.
void
Initialize this MAC with a key and parameters.
void
Initialize this key agreement with a key, parameters, and source of randomness.
void
Initialize this key generator with a set of parameters; the highest-priority SecureRandom implementation will be used.
void
Initialize this key generator with a set of parameters and a source of randomness.

Uses in package java.security.spec

Classes implementing java.security.spec.AlgorithmParameterSpec

class
DSA Parameter class Specification.
class
This class specifies a parameter spec for RSA PSS encoding scheme, as defined in the PKCS#1 v2.1.
class
This class generates a set of RSA Key parameters used in the generation of RSA keys.

Uses in package java.security

Methods with parameter type java.security.spec.AlgorithmParameterSpec

void
Initializes the engine with the specified AlgorithmParameterSpec class.
void
Initializes the parameter generator with the specified AlgorithmParameterSpec and SecureRandom classes.
void
This method is overridden by providers to initialize this signature engine with the specified parameter set.
void
Initializes this parameter generator with a set of algorithm-specific parameter generation values.
void
Initializes this parameter object using the parameters specified in paramSpec.
void
Initializes this parameter generator with a set of algorithm-specific parameter generation values.
void
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
Initializes the key pair generator with the given parameter set and source of randomness.

This concrete method has been added to this previously-defined abstract class.

void
Initialize the KeyPairGeneratorSpi with the specified AlgorithmParameterSpec and source of randomness This is a concrete method.
void
Initializes this signature engine with the specified parameter set.

Methods with return type java.security.spec.AlgorithmParameterSpec

AlgorithmParameterSpec
Returns a specification of this AlgorithmParameters object.
AlgorithmParameterSpec
Returns a (transparent) specification of this parameter object.

Uses in package javax.crypto.spec

Classes implementing java.security.spec.AlgorithmParameterSpec

class
This class represents the parameters needed for generating Diffie-Hellman parameters.
class
The base set of parameters necessary to perform Diffie-Hellman key exchange.
class
A wrapper for an initialization vector.
class
A wrapper for the parameters used in PKCS #5 - Password-Based Cryptography Standard.
class
A wrapper for parameters for the RC2 block cipher ("RC" means either "Rivest Cipher" or "Ron's Code", depending upon who you ask and when).
class
A wrapper for parameters to the RC5 block cipher.