Uses of Interface
java.security.spec.AlgorithmParameterSpec
Packages that use AlgorithmParameterSpec
Package
Description
Provides the classes and interfaces for the security framework.
Provides interfaces for generating RSA (Rivest, Shamir and
Adleman AsymmetricCipher algorithm)
keys as defined in the RSA Laboratory Technical Note
PKCS#1, and DSA (Digital Signature
Algorithm) keys as defined in NIST's FIPS-186.
Provides classes and interfaces for key specifications and algorithm
parameter specifications.
Provides the classes and interfaces for cryptographic
operations.
Provides classes and interfaces for key specifications and
algorithm parameter specifications.
Common classes for XML cryptography.
Classes for generating and validating XML digital
signatures.
Parameter classes for XML digital signatures.
-
Uses of AlgorithmParameterSpec in java.security
Methods in java.security with type parameters of type AlgorithmParameterSpecModifier and TypeMethodDescriptionprotected abstract <T extends AlgorithmParameterSpec>
TAlgorithmParametersSpi.engineGetParameterSpec(Class<T> paramSpec) Returns a (transparent) specification of this parameters object.final <T extends AlgorithmParameterSpec>
TAlgorithmParameters.getParameterSpec(Class<T> paramSpec) Returns a (transparent) specification of this parameter object.Methods in java.security that return AlgorithmParameterSpecModifier and TypeMethodDescriptionKeyStore.PasswordProtection.getProtectionParameters()Gets the parameters supplied for the protection algorithm.Methods in java.security with parameters of type AlgorithmParameterSpecModifier and TypeMethodDescriptionprotected abstract voidAlgorithmParameterGeneratorSpi.engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) Initializes this parameter generator with a set of algorithm-specific parameter generation values.protected abstract voidAlgorithmParametersSpi.engineInit(AlgorithmParameterSpec paramSpec) Initializes this parameters object using the parameters specified inparamSpec.protected voidSignatureSpi.engineSetParameter(AlgorithmParameterSpec params) Initializes thisSignatureobject with the specified parameter values.final voidAlgorithmParameterGenerator.init(AlgorithmParameterSpec genParamSpec) Initializes this parameter generator with a set of algorithm-specific parameter generation values.final voidAlgorithmParameterGenerator.init(AlgorithmParameterSpec genParamSpec, SecureRandom random) Initializes this parameter generator with a set of algorithm-specific parameter generation values.final voidAlgorithmParameters.init(AlgorithmParameterSpec paramSpec) Initializes this parameter object using the parameters specified inparamSpec.voidKeyPairGenerator.initialize(AlgorithmParameterSpec params) Initializes the key pair generator using the specified parameter set and theSecureRandomimplementation of the highest-priority installed provider as the source of randomness.voidKeyPairGenerator.initialize(AlgorithmParameterSpec params, SecureRandom random) Initializes the key pair generator with the given parameter set and source of randomness.voidKeyPairGeneratorSpi.initialize(AlgorithmParameterSpec params, SecureRandom random) Initializes the key pair generator using the specified parameter set and user-provided source of randomness.final voidSignature.setParameter(AlgorithmParameterSpec params) Initializes thisSignatureobject with the specified parameter values.Constructors in java.security with parameters of type AlgorithmParameterSpecModifierConstructorDescriptionPasswordProtection(char[] password, String protectionAlgorithm, AlgorithmParameterSpec protectionParameters) Creates a password parameter and specifies the protection algorithm and associated parameters to use when encrypting a keystore entry. -
Uses of AlgorithmParameterSpec in java.security.interfaces
Methods in java.security.interfaces that return AlgorithmParameterSpecModifier and TypeMethodDescriptiondefault AlgorithmParameterSpecRSAKey.getParams()Returns the parameters associated with this key.XECKey.getParams()Returns the algorithm parameters associated with the key. -
Uses of AlgorithmParameterSpec in java.security.spec
Classes in java.security.spec that implement AlgorithmParameterSpecModifier and TypeClassDescriptionfinal classThis immutable class specifies the set of parameters used for generating DSA parameters as specified in FIPS 186-3 Digital Signature Standard (DSS).classThis class specifies the set of parameters used with the DSA algorithm.classThis immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.classThis immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC).classA class used to specify EdDSA signature and verification parameters.classThis class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard.classThis class is used to specify any algorithm parameters that are determined by a standard name.classThis class specifies a parameter spec for the RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard.classThis class specifies the set of parameters used to generate an RSA key pair.Methods in java.security.spec that return AlgorithmParameterSpecModifier and TypeMethodDescriptionRSAKeyGenParameterSpec.getKeyParams()Returns the parameters to be associated with key.PSSParameterSpec.getMGFParameters()Returns the parameters for the mask generation function.RSAPrivateKeySpec.getParams()Returns the parameters associated with this key, may be null if not present.RSAPublicKeySpec.getParams()Returns the parameters associated with this key, may be null if not present.XECPrivateKeySpec.getParams()Get the algorithm parameters that define the curve and other settings.XECPublicKeySpec.getParams()Get the algorithm parameters that define the curve and other settings.Constructors in java.security.spec with parameters of type AlgorithmParameterSpecModifierConstructorDescriptionPSSParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, int saltLen, int trailerField) Creates a newPSSParameterSpecas defined in the PKCS #1 standard using the specified message digest, mask generation function, parameters for mask generation function, salt length, and trailer field values.RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent, AlgorithmParameterSpec keyParams) Constructs a newRSAKeyGenParameterSpecobject from the given keysize, public-exponent value, and key parameters.RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo, AlgorithmParameterSpec keyParams) Creates a newRSAMultiPrimePrivateCrtKeySpecwith additional key parameters.RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, AlgorithmParameterSpec keyParams) Creates a newRSAPrivateCrtKeySpecwith additional key parameters.RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent, AlgorithmParameterSpec params) Creates a new RSAPrivateKeySpec with additional key parameters.RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent, AlgorithmParameterSpec params) Creates a new RSAPublicKeySpec with additional key parameters.XECPrivateKeySpec(AlgorithmParameterSpec params, byte[] scalar) Construct a private key spec using the supplied parameters and encoded scalar value.XECPublicKeySpec(AlgorithmParameterSpec params, BigInteger u) Construct a public key spec using the supplied parameters and u coordinate. -
Uses of AlgorithmParameterSpec in javax.crypto
Methods in javax.crypto that return AlgorithmParameterSpecModifier and TypeMethodDescriptionstatic final AlgorithmParameterSpecCipher.getMaxAllowedParameterSpec(String transformation) Returns an {code AlgorithmParameterSpec} object which contains the maximumCipherparameter value according to the jurisdiction policy file.Methods in javax.crypto with parameters of type AlgorithmParameterSpecModifier and TypeMethodDescriptionprotected abstract voidCipherSpi.engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) Initializes thisCipherSpiobject with a key, a set of algorithm parameters, and a source of randomness.protected abstract voidExemptionMechanismSpi.engineInit(Key key, AlgorithmParameterSpec params) Initializes this exemption mechanism with a key and a set of algorithm parameters.protected abstract voidKeyAgreementSpi.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 voidKeyGeneratorSpi.engineInit(AlgorithmParameterSpec params, SecureRandom random) Initializes the key generator with the specified parameter set and a user-provided source of randomness.protected abstract voidMacSpi.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 voidCipher.init(int opmode, Key key, AlgorithmParameterSpec params) Initializes thisCipherobject with a key and a set of algorithm parameters.final voidCipher.init(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) Initializes thisCipherobject with a key, a set of algorithm parameters, and a source of randomness.final voidExemptionMechanism.init(Key key, AlgorithmParameterSpec params) Initializes this exemption mechanism with a key and a set of algorithm parameters.final voidKeyAgreement.init(Key key, AlgorithmParameterSpec params) Initializes this key agreement with the given key and set of algorithm parameters.final voidKeyAgreement.init(Key key, AlgorithmParameterSpec params, SecureRandom random) Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.final voidKeyGenerator.init(AlgorithmParameterSpec params) Initializes this key generator with the specified parameter set.final voidKeyGenerator.init(AlgorithmParameterSpec params, SecureRandom random) Initializes this key generator with the specified parameter set and a user-provided source of randomness.final voidMac.init(Key key, AlgorithmParameterSpec params) Initializes thisMacobject 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 AlgorithmParameterSpec in javax.crypto.spec
Classes in javax.crypto.spec that implement AlgorithmParameterSpecModifier and TypeClassDescriptionfinal classThis class specifies the parameters used with the ChaCha20 algorithm.classThis class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement.classThis class specifies the set of parameters used with the Diffie-Hellman algorithm, as specified in PKCS #3: Diffie-Hellman Key-Agreement Standard.classSpecifies the set of parameters required by aCipherusing the Galois/Counter Mode (GCM) mode.classThis class specifies an initialization vector (IV).classThis class specifies the set of parameters used with OAEP Padding, as defined in the PKCS#1 v2.2 standard.classThis class specifies the set of parameters used with password-based encryption (PBE), as defined in the PKCS #5 standard.classThis class specifies the parameters used with the RC2 algorithm.classThis class specifies the parameters used with the RC5 algorithm.Methods in javax.crypto.spec that return AlgorithmParameterSpecModifier and TypeMethodDescriptionOAEPParameterSpec.getMGFParameters()Returns the parameters for the mask generation function.PBEParameterSpec.getParameterSpec()Returns the cipher algorithm parameter specification.Constructors in javax.crypto.spec with parameters of type AlgorithmParameterSpecModifierConstructorDescriptionOAEPParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, PSource pSrc) Constructs a parameter set for OAEP padding as defined in the PKCS #1 standard using the specified message digest algorithmmdName, mask generation function algorithmmgfName, parameters for the mask generation functionmgfSpec, and source of the encoding input PpSrc.PBEParameterSpec(byte[] salt, int iterationCount, AlgorithmParameterSpec paramSpec) Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard. -
Uses of AlgorithmParameterSpec in javax.xml.crypto
Methods in javax.xml.crypto that return AlgorithmParameterSpecModifier and TypeMethodDescriptionAlgorithmMethod.getParameterSpec()Returns the algorithm parameters of thisAlgorithmMethod. -
Uses of AlgorithmParameterSpec in javax.xml.crypto.dsig
Methods in javax.xml.crypto.dsig that return AlgorithmParameterSpecModifier and TypeMethodDescriptionCanonicalizationMethod.getParameterSpec()Returns the algorithm-specific input parameters associated with thisCanonicalizationMethod.DigestMethod.getParameterSpec()Returns the algorithm-specific input parameters associated with thisDigestMethod.SignatureMethod.getParameterSpec()Returns the algorithm-specific input parameters of thisSignatureMethod.Transform.getParameterSpec()Returns the algorithm-specific input parameters associated with thisTransform. -
Uses of AlgorithmParameterSpec in javax.xml.crypto.dsig.spec
Subinterfaces of AlgorithmParameterSpec in javax.xml.crypto.dsig.specModifier and TypeInterfaceDescriptioninterfaceA specification of algorithm parameters for aCanonicalizationMethodAlgorithm.interfaceA specification of algorithm parameters for aDigestMethodalgorithm.interfaceA specification of algorithm parameters for an XMLSignatureMethodalgorithm.interfaceA specification of algorithm parameters for aTransformalgorithm.Classes in javax.xml.crypto.dsig.spec that implement AlgorithmParameterSpecModifier and TypeClassDescriptionfinal classParameters for the W3C Recommendation: Exclusive XML Canonicalization (C14N) algorithm.final classParameters for the XML Signature HMAC Algorithm.final classParameters for the XML Signature RSASSA-PSS Algorithm.final classParameters for the W3C Recommendation XPath Filter 2.0 Transform Algorithm.final classParameters for the XPath Filtering Transform Algorithm.final classParameters for the XSLT Transform Algorithm.