Uses of Class java.security.AlgorithmParameters

Uses in package java.security

Methods with return type java.security.AlgorithmParameters

AlgorithmParameters
Generate a new set of AlgorithmParameters.
AlgorithmParameters
The default implementaion of this method always throws a UnsupportedOperationException.
AlgorithmParameters
AlgorithmParameters
Returns a new instance of AlgorithmParameters representing the specified algorithm parameters.
AlgorithmParameters
Returns a new instance of AlgorithmParameters representing the specified algorithm parameters from a named provider.
AlgorithmParameters
Returns a new instance of AlgorithmParameters representing the specified algorithm parameters from the specified Provider.
AlgorithmParameters
Return the parameters of the algorithm used in this instance as an AlgorithmParameters.

Uses in package javax.crypto

Constructors with parameter type java.security.AlgorithmParameters

Create a new EncryptedPrivateKeyInfo object from raw encrypted data and the parameters used for encryption.

Methods with parameter type java.security.AlgorithmParameters

void
CipherSpi.engineInit(int opmode, Key key, AlgorithmParameters 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
Cipher.init(int opmode, Key key, AlgorithmParameters 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, AlgorithmParameters 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

Methods with return type java.security.AlgorithmParameters

AlgorithmParameters
Returns the parameters that this cipher is using.
AlgorithmParameters
AlgorithmParameters
Return the AlgorithmParameters that this instance was initialized with.