Uses of Class java.security.InvalidAlgorithmParameterException

Uses in package java.security

Methods which throw type java.security.InvalidAlgorithmParameterException

void
Initializes the parameter generator with the specified AlgorithmParameterSpec and SecureRandom classes.
void
Sets the signature engine with the specified AlgorithmParameterSpec.
void
Initializes this instance with the specified AlgorithmParameterSpec.
void
Initializes this instance with the specified AlgorithmParameterSpec and source of randomness.
void
Initializes this instance with the specified AlgorithmParameterSpec.
void
Initializes this instance with the specified AlgorithmParameterSpec and SecureRandom.
void
Initialize the KeyPairGeneratorSpi with the specified AlgorithmParameterSpec and source of randomness This is a concrete method.
void
Sets the signature engine with the specified AlgorithmParameterSpec.

Uses in package java.security.cert

Constructors which throw type java.security.InvalidAlgorithmParameterException

Creates a new CertStoreSpi.
PKIXBuilderParameters.PKIXBuilderParameters(Set trustAnchors, CertSelector targetConstraints)
Create a new PKIXBuilderParameters object, populating the trusted certificates set with the elements of the given set, each of which must be a TrustAnchor.
Create a new PKIXBuilderParameters object, populating the trusted certificates set with all X.509 certificates found in the given key store.
PKIXParameters.PKIXParameters(Set trustAnchors)
Create a new PKIXParameters object, populating the trusted certificates set with the elements of the given set, each of which must be a TrustAnchor.
Create a new PKIXParameters object, populating the trusted certificates set with all certificates found in the given key store.

Methods which throw type java.security.InvalidAlgorithmParameterException

CertPathBuilderResult
Builds a certificate path.
CertPathBuilderResult
Creates a certificate path from the specified parameters.
CertPathValidatorResult
Attempt to validate a certificate path.
CertStore
Returns an instance of the given certificate store type from the first installed provider.
CertStore
Returns an instance of the given certificate store type from a named provider.
CertStore
Returns an instance of the given certificate store type from a given provider.
void
PKIXParameters.setTrustAnchors(Set trustAnchors)
Sets the trust anchors of this class, replacing the current trust anchors with those in the given set.
CertPathValidatorResult
Attempt to validate a certificate path.

Uses in package javax.net.ssl

Methods which throw type java.security.InvalidAlgorithmParameterException

void
Engine method for initializing this factory with some algorithm-specific parameters.
void
Engine method that initializes this factory with some algorithm-specific parameters.
void
Initialize this instance with an implementation-dependent parameter object.
void
Initialize this instance with some algorithm-specific parameters.

Uses in package javax.crypto

Methods which throw type java.security.InvalidAlgorithmParameterException

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
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 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, 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
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
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.