Uses of Class
java.security.InvalidAlgorithmParameterException
Package
Description
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
Provides the classes and interfaces for cryptographic
operations.
Provides classes for the secure socket package.
Classes for generating and validating XML digital
signatures.
-
Uses of InvalidAlgorithmParameterException in java.security
Modifier and TypeMethodDescriptionprotected 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.final void
AlgorithmParameterGenerator.init
(AlgorithmParameterSpec genParamSpec) Initializes this parameter generator with a set of algorithm-specific parameter generation values.final 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.final void
Signature.setParameter
(AlgorithmParameterSpec params) Initializes this signature engine with the specified parameter set. -
Uses of InvalidAlgorithmParameterException in java.security.cert
Modifier and TypeMethodDescriptionfinal 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.final CertPathValidatorResult
CertPathValidator.validate
(CertPath certPath, CertPathParameters params) Validates the specified certification path using the specified algorithm parameter set.ModifierConstructorDescriptionCertStoreSpi
(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
Modifier and TypeMethodDescriptionprotected 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.KEMSpi.engineNewDecapsulator
(PrivateKey privateKey, AlgorithmParameterSpec spec) Creates a KEM decapsulator on the KEM receiver side.KEMSpi.engineNewEncapsulator
(PublicKey publicKey, AlgorithmParameterSpec spec, SecureRandom secureRandom) Creates a KEM encapsulator on the KEM sender side.final void
Cipher.init
(int opmode, Key key, AlgorithmParameters params) Initializes this cipher with a key and a set of algorithm parameters.final 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.final void
Cipher.init
(int opmode, Key key, AlgorithmParameterSpec params) Initializes this cipher with a key and a set of algorithm parameters.final 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.final void
ExemptionMechanism.init
(Key key, AlgorithmParameters params) Initializes this exemption mechanism with a key and a set of algorithm parameters.final void
ExemptionMechanism.init
(Key key, AlgorithmParameterSpec params) Initializes this exemption mechanism with a key and a set of algorithm parameters.final void
KeyAgreement.init
(Key key, AlgorithmParameterSpec params) Initializes this key agreement with the given key and set of algorithm parameters.final 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.final void
KeyGenerator.init
(AlgorithmParameterSpec params) Initializes this key generator with the specified parameter set.final void
KeyGenerator.init
(AlgorithmParameterSpec params, SecureRandom random) Initializes this key generator with the specified parameter set and a user-provided source of randomness.final void
Mac.init
(Key key, AlgorithmParameterSpec params) Initializes thisMac
object with the given key and algorithm parameters.KEM.newDecapsulator
(PrivateKey privateKey, AlgorithmParameterSpec spec) Creates a KEM decapsulator on the KEM receiver side.KEM.newEncapsulator
(PublicKey publicKey, AlgorithmParameterSpec spec, SecureRandom secureRandom) Creates a KEM encapsulator on the KEM sender side. -
Uses of InvalidAlgorithmParameterException in javax.net.ssl
Modifier and TypeMethodDescriptionprotected 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.final void
KeyManagerFactory.init
(ManagerFactoryParameters spec) Initializes this factory with a source of provider-specific key material.final void
TrustManagerFactory.init
(ManagerFactoryParameters spec) Initializes this factory with a source of provider-specific trust material. -
Uses of InvalidAlgorithmParameterException in javax.xml.crypto.dsig
Modifier and TypeMethodDescriptionabstract 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.