Uses of Class
java.security.AlgorithmParameters
| Package | Description |
|---|---|
| java.security |
Provides the classes and interfaces for the security framework.
|
| javax.crypto |
Provides the classes and interfaces for cryptographic
operations.
|
-
Uses of AlgorithmParameters in java.security
Methods in java.security that return AlgorithmParameters Modifier and Type Method Description protected abstract AlgorithmParametersAlgorithmParameterGeneratorSpi. engineGenerateParameters()Generates the parameters.protected AlgorithmParametersSignatureSpi. engineGetParameters()This method is overridden by providers to return the parameters used with this signature engine.AlgorithmParametersAlgorithmParameterGenerator. generateParameters()Generates the parameters.static AlgorithmParametersAlgorithmParameters. getInstance(String algorithm)Returns a parameter object for the specified algorithm.static AlgorithmParametersAlgorithmParameters. getInstance(String algorithm, String provider)Returns a parameter object for the specified algorithm.static AlgorithmParametersAlgorithmParameters. getInstance(String algorithm, Provider provider)Returns a parameter object for the specified algorithm.AlgorithmParametersSignature. getParameters()Returns the parameters used with this signature object.Methods in java.security with parameters of type AlgorithmParameters Modifier and Type Method Description booleanAlgorithmConstraints. permits(Set<CryptoPrimitive> primitives, String algorithm, AlgorithmParameters parameters)Determines whether an algorithm is granted permission for the specified cryptographic primitives.booleanAlgorithmConstraints. permits(Set<CryptoPrimitive> primitives, String algorithm, Key key, AlgorithmParameters parameters)Determines whether an algorithm and the corresponding key are granted permission for the specified cryptographic primitives. -
Uses of AlgorithmParameters in javax.crypto
Methods in javax.crypto that return AlgorithmParameters Modifier and Type Method Description protected abstract AlgorithmParametersCipherSpi. engineGetParameters()Returns the parameters used with this cipher.AlgorithmParametersEncryptedPrivateKeyInfo. getAlgParameters()Returns the algorithm parameters used by the encryption algorithm.AlgorithmParametersCipher. getParameters()Returns the parameters used with this cipher.Methods in javax.crypto with parameters of type AlgorithmParameters Modifier and Type Method Description protected abstract voidCipherSpi. 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 voidExemptionMechanismSpi. engineInit(Key key, AlgorithmParameters params)Initializes this exemption mechanism with a key and a set of algorithm parameters.voidCipher. init(int opmode, Key key, AlgorithmParameters params)Initializes this cipher with a key and a set of algorithm parameters.voidCipher. 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.voidExemptionMechanism. init(Key key, AlgorithmParameters params)Initializes this exemption mechanism with a key and a set of algorithm parameters.Constructors in javax.crypto with parameters of type AlgorithmParameters Constructor Description EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)Constructs anEncryptedPrivateKeyInfofrom the encryption algorithm parameters and the encrypted data.