## Uses of Class
java.security.AlgorithmParameters

- Packages that use 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 and Description
    --- | ---
    `protected abstract AlgorithmParameters` | AlgorithmParameterGeneratorSpi.`engineGenerateParameters()` Generates the parameters.
    `protected AlgorithmParameters` | SignatureSpi.`engineGetParameters()` This method is overridden by providers to return the parameters used with this signature engine, or null if this signature engine does not use any parameters.
    `AlgorithmParameters` | AlgorithmParameterGenerator.`generateParameters()` Generates the parameters.
    `static AlgorithmParameters` | AlgorithmParameters.`getInstance(String algorithm)` Returns a parameter object for the specified algorithm.
    `static AlgorithmParameters` | AlgorithmParameters.`getInstance(String algorithm, Provider provider)` Returns a parameter object for the specified algorithm.
    `static AlgorithmParameters` | AlgorithmParameters.`getInstance(String algorithm, String provider)` Returns a parameter object for the specified algorithm.
    `AlgorithmParameters` | Signature.`getParameters()` Returns the parameters used with this signature object.

  - ### Uses of AlgorithmParameters in javax.crypto

    Methods in javax.crypto that return AlgorithmParameters
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract AlgorithmParameters` | CipherSpi.`engineGetParameters()` Returns the parameters used with this cipher.
    `AlgorithmParameters` | EncryptedPrivateKeyInfo.`getAlgParameters()` Returns the algorithm parameters used by the encryption algorithm.
    `AlgorithmParameters` | Cipher.`getParameters()` Returns the parameters used with this cipher.

    Methods in javax.crypto with parameters of type AlgorithmParameters
    Modifier and Type | Method and 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` | ExemptionMechanismSpi.`engineInit(Key key, AlgorithmParameters params)` Initializes this exemption mechanism with a key and a set of 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` | ExemptionMechanism.`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 and Description
    `EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)` Constructs an `EncryptedPrivateKeyInfo` from the encryption algorithm parameters and the encrypted data.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.