Uses of Class
java.security.InvalidAlgorithmParameterException
Package | Description |
---|---|
java.security |
Provides the classes and interfaces for the security framework.
|
java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
javax.crypto |
Provides the classes and interfaces for cryptographic
operations.
|
javax.net.ssl |
Provides classes for the secure socket package.
|
javax.xml.crypto.dsig |
Classes for generating and validating XML digital
signatures.
|
-
Uses of InvalidAlgorithmParameterException in java.security
Methods in java.security that throw InvalidAlgorithmParameterException Modifier and Type Method Description protected abstract void
AlgorithmParameterGeneratorSpi. engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random)
Initializes this parameter generator with a set of algorithm-specific parameter generation values.protected void
SignatureSpi. engineSetParameter(AlgorithmParameterSpec params)
This method is overridden by providers to initialize this signature engine with the specified parameter set.void
AlgorithmParameterGenerator. init(AlgorithmParameterSpec genParamSpec)
Initializes this parameter generator with a set of algorithm-specific parameter generation values.void
AlgorithmParameterGenerator. init(AlgorithmParameterSpec genParamSpec, SecureRandom random)
Initializes this parameter generator with a set of algorithm-specific parameter generation values.void
KeyPairGenerator. initialize(AlgorithmParameterSpec params)
Initializes the key pair generator using the specified parameter set and theSecureRandom
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. -
Uses of InvalidAlgorithmParameterException in java.security.cert
Methods in java.security.cert that throw InvalidAlgorithmParameterException Modifier and Type Method Description CertPathBuilderResult
CertPathBuilder. build(CertPathParameters params)
Attempts to build a certification path using the specified algorithm parameter set.abstract CertPathBuilderResult
CertPathBuilderSpi. engineBuild(CertPathParameters params)
Attempts to build a certification path using the specified algorithm parameter set.abstract CertPathValidatorResult
CertPathValidatorSpi. engineValidate(CertPath certPath, CertPathParameters params)
Validates the specified certification path using the specified algorithm parameter set.static CertStore
CertStore. getInstance(String type, CertStoreParameters params)
Returns aCertStore
object that implements the specifiedCertStore
type and is initialized with the specified parameters.static CertStore
CertStore. getInstance(String type, CertStoreParameters params, String provider)
Returns aCertStore
object that implements the specifiedCertStore
type.static CertStore
CertStore. getInstance(String type, CertStoreParameters params, Provider provider)
Returns aCertStore
object that implements the specifiedCertStore
type.void
PKIXParameters. setTrustAnchors(Set<TrustAnchor> trustAnchors)
Sets theSet
of most-trusted CAs.CertPathValidatorResult
CertPathValidator. validate(CertPath certPath, CertPathParameters params)
Validates the specified certification path using the specified algorithm parameter set.Constructors in java.security.cert that throw InvalidAlgorithmParameterException Constructor Description CertStoreSpi(CertStoreParameters params)
The sole constructor.PKIXBuilderParameters(KeyStore keystore, CertSelector targetConstraints)
Creates an instance ofPKIXBuilderParameters
that populates the set of most-trusted CAs from the trusted certificate entries contained in the specifiedKeyStore
.PKIXBuilderParameters(Set<TrustAnchor> trustAnchors, CertSelector targetConstraints)
Creates an instance ofPKIXBuilderParameters
with the specifiedSet
of most-trusted CAs.PKIXParameters(KeyStore keystore)
Creates an instance ofPKIXParameters
that populates the set of most-trusted CAs from the trusted certificate entries contained in the specifiedKeyStore
.PKIXParameters(Set<TrustAnchor> trustAnchors)
Creates an instance ofPKIXParameters
with the specifiedSet
of most-trusted CAs. -
Uses of InvalidAlgorithmParameterException in javax.crypto
Methods in javax.crypto that throw InvalidAlgorithmParameterException Modifier and Type Method Description protected abstract void
CipherSpi. engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.protected abstract void
CipherSpi. engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.protected abstract void
ExemptionMechanismSpi. engineInit(Key key, AlgorithmParameters params)
Initializes this exemption mechanism with a key and a set of algorithm parameters.protected abstract void
ExemptionMechanismSpi. engineInit(Key key, AlgorithmParameterSpec params)
Initializes this exemption mechanism with a key and a set of algorithm parameters.protected abstract void
KeyAgreementSpi. engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random)
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.protected abstract void
KeyGeneratorSpi. engineInit(AlgorithmParameterSpec params, SecureRandom random)
Initializes the key generator with the specified parameter set and a user-provided source of randomness.protected abstract void
MacSpi. engineInit(Key key, AlgorithmParameterSpec params)
Initializes the MAC with the given (secret) key and algorithm parameters.void
Cipher. init(int opmode, Key key, AlgorithmParameters params)
Initializes this cipher with a key and a set of algorithm parameters.void
Cipher. init(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.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
ExemptionMechanism. init(Key key, AlgorithmParameters params)
Initializes this exemption mechanism with a key and a set of algorithm parameters.void
ExemptionMechanism. init(Key key, AlgorithmParameterSpec params)
Initializes this exemption mechanism with a key and a set of algorithm parameters.void
KeyAgreement. init(Key key, AlgorithmParameterSpec params)
Initializes this key agreement with the given key and set of algorithm parameters.void
KeyAgreement. init(Key key, AlgorithmParameterSpec params, SecureRandom random)
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.void
KeyGenerator. init(AlgorithmParameterSpec params)
Initializes this key generator with the specified parameter set.void
KeyGenerator. init(AlgorithmParameterSpec params, SecureRandom random)
Initializes this key generator with the specified parameter set and a user-provided source of randomness.void
Mac. init(Key key, AlgorithmParameterSpec params)
Initializes thisMac
object with the given key and algorithm parameters. -
Uses of InvalidAlgorithmParameterException in javax.net.ssl
Methods in javax.net.ssl that throw InvalidAlgorithmParameterException Modifier and Type Method Description protected abstract void
KeyManagerFactorySpi. engineInit(ManagerFactoryParameters spec)
Initializes this factory with a source of key material.protected abstract void
TrustManagerFactorySpi. engineInit(ManagerFactoryParameters spec)
Initializes this factory with a source of provider-specific key material.void
KeyManagerFactory. init(ManagerFactoryParameters spec)
Initializes this factory with a source of provider-specific key material.void
TrustManagerFactory. init(ManagerFactoryParameters spec)
Initializes this factory with a source of provider-specific trust material. -
Uses of InvalidAlgorithmParameterException in javax.xml.crypto.dsig
Methods in javax.xml.crypto.dsig that throw InvalidAlgorithmParameterException Modifier and Type Method Description abstract void
TransformService. init(TransformParameterSpec params)
Initializes thisTransformService
with the specified parameters.abstract void
TransformService. init(XMLStructure parent, XMLCryptoContext context)
Initializes thisTransformService
with the specified parameters and document context.abstract CanonicalizationMethod
XMLSignatureFactory. newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec params)
Creates aCanonicalizationMethod
for the specified algorithm URI and parameters.abstract CanonicalizationMethod
XMLSignatureFactory. newCanonicalizationMethod(String algorithm, XMLStructure params)
Creates aCanonicalizationMethod
for the specified algorithm URI and parameters.abstract DigestMethod
XMLSignatureFactory. newDigestMethod(String algorithm, DigestMethodParameterSpec params)
Creates aDigestMethod
for the specified algorithm URI and parameters.abstract SignatureMethod
XMLSignatureFactory. newSignatureMethod(String algorithm, SignatureMethodParameterSpec params)
Creates aSignatureMethod
for the specified algorithm URI and parameters.abstract Transform
XMLSignatureFactory. newTransform(String algorithm, TransformParameterSpec params)
Creates aTransform
for the specified algorithm URI and parameters.abstract Transform
XMLSignatureFactory. newTransform(String algorithm, XMLStructure params)
Creates aTransform
for the specified algorithm URI and parameters.