Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary:

# AlgorithmParameterSpec

` public interface AlgorithmParameterSpec `   
` `

|---|
| java.security.spec.AlgorithmParameterSpec |

Known indirect subclasses [AeadParameterSpec](https://developer.android.com/reference/android/crypto/hpke/AeadParameterSpec), [ChaCha20ParameterSpec](https://developer.android.com/reference/javax/crypto/spec/ChaCha20ParameterSpec), [DHGenParameterSpec](https://developer.android.com/reference/javax/crypto/spec/DHGenParameterSpec), [DHParameterSpec](https://developer.android.com/reference/javax/crypto/spec/DHParameterSpec), [DSAGenParameterSpec](https://developer.android.com/reference/java/security/spec/DSAGenParameterSpec), [DSAParameterSpec](https://developer.android.com/reference/java/security/spec/DSAParameterSpec), [ECGenParameterSpec](https://developer.android.com/reference/java/security/spec/ECGenParameterSpec), [ECParameterSpec](https://developer.android.com/reference/java/security/spec/ECParameterSpec), [EdDSAParameterSpec](https://developer.android.com/reference/java/security/spec/EdDSAParameterSpec), [GCMParameterSpec](https://developer.android.com/reference/javax/crypto/spec/GCMParameterSpec), [IvParameterSpec](https://developer.android.com/reference/javax/crypto/spec/IvParameterSpec), [KdfParameterSpec](https://developer.android.com/reference/android/crypto/hpke/KdfParameterSpec), [KemParameterSpec](https://developer.android.com/reference/android/crypto/hpke/KemParameterSpec), [KeyGenParameterSpec](https://developer.android.com/reference/android/security/keystore/KeyGenParameterSpec), [KeyPairGeneratorSpec](https://developer.android.com/reference/android/security/KeyPairGeneratorSpec), and 8 others. [AeadParameterSpec](https://developer.android.com/reference/android/crypto/hpke/AeadParameterSpec) Specifies algorithm parameters for the AEAD component of an HPKE suite which are determined by standard names as per RFC 9180. [ChaCha20ParameterSpec](https://developer.android.com/reference/javax/crypto/spec/ChaCha20ParameterSpec) This class specifies the parameters used with the [*ChaCha20*](https://tools.ietf.org/html/rfc7539) algorithm. [DHGenParameterSpec](https://developer.android.com/reference/javax/crypto/spec/DHGenParameterSpec) This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement. [DHParameterSpec](https://developer.android.com/reference/javax/crypto/spec/DHParameterSpec) This class specifies the set of parameters used with the Diffie-Hellman algorithm, as specified in PKCS #3: *Diffie-Hellman Key-Agreement Standard*. [DSAGenParameterSpec](https://developer.android.com/reference/java/security/spec/DSAGenParameterSpec) This immutable class specifies the set of parameters used for generating DSA parameters as specified in [FIPS 186-3 Digital Signature Standard (DSS)](http://csrc.nist.gov/publications/fips/fips186-3/fips_186-3.pdf). [DSAParameterSpec](https://developer.android.com/reference/java/security/spec/DSAParameterSpec) This class specifies the set of parameters used with the DSA algorithm. [ECGenParameterSpec](https://developer.android.com/reference/java/security/spec/ECGenParameterSpec) This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters. [ECParameterSpec](https://developer.android.com/reference/java/security/spec/ECParameterSpec) This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC). [EdDSAParameterSpec](https://developer.android.com/reference/java/security/spec/EdDSAParameterSpec) A class used to specify EdDSA signature and verification parameters. [GCMParameterSpec](https://developer.android.com/reference/javax/crypto/spec/GCMParameterSpec) Specifies the set of parameters required by a `https://developer.android.com/reference/javax/crypto/Cipher` using the Galois/Counter Mode (GCM) mode. [IvParameterSpec](https://developer.android.com/reference/javax/crypto/spec/IvParameterSpec) This class specifies an *initialization vector* (IV). [KdfParameterSpec](https://developer.android.com/reference/android/crypto/hpke/KdfParameterSpec) Specifies algorithm parameters for the KDF component of an HPKE suite which are determined by standard names as per RFC 9180. [KemParameterSpec](https://developer.android.com/reference/android/crypto/hpke/KemParameterSpec) Specifies algorithm parameters for the KEM component of an HPKE suite which are determined by standard names as per RFC 9180. [KeyGenParameterSpec](https://developer.android.com/reference/android/security/keystore/KeyGenParameterSpec) `https://developer.android.com/reference/java/security/spec/AlgorithmParameterSpec` for initializing a `https://developer.android.com/reference/java/security/KeyPairGenerator` or a `https://developer.android.com/reference/javax/crypto/KeyGenerator` of the [Android Keystore system](https://developer.android.com/training/articles/keystore). [KeyPairGeneratorSpec](https://developer.android.com/reference/android/security/KeyPairGeneratorSpec) *This class was deprecated in API level 23. Use `https://developer.android.com/reference/android/security/keystore/KeyGenParameterSpec` instead.* [MGF1ParameterSpec](https://developer.android.com/reference/java/security/spec/MGF1ParameterSpec) This 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](https://tools.ietf.org/rfc/rfc8017.txt) standard. [NamedParameterSpec](https://developer.android.com/reference/java/security/spec/NamedParameterSpec) This class is used to specify any algorithm parameters that are determined by a standard name. [OAEPParameterSpec](https://developer.android.com/reference/javax/crypto/spec/OAEPParameterSpec) This class specifies the set of parameters used with OAEP Padding, as defined in the [PKCS #1](http://www.ietf.org/rfc/rfc3447.txt) standard. [PBEParameterSpec](https://developer.android.com/reference/javax/crypto/spec/PBEParameterSpec) This class specifies the set of parameters used with password-based encryption (PBE), as defined in the [PKCS #5](http://www.ietf.org/rfc/rfc2898.txt) standard. [PSSParameterSpec](https://developer.android.com/reference/java/security/spec/PSSParameterSpec) This class specifies a parameter spec for RSASSA-PSS signature scheme, as defined in the [PKCS#1 v2.2](https://tools.ietf.org/rfc/rfc8017.txt) standard. [RC2ParameterSpec](https://developer.android.com/reference/javax/crypto/spec/RC2ParameterSpec) This class specifies the parameters used with the [*RC2*](http://www.ietf.org/rfc/rfc2268.txt) algorithm. [RC5ParameterSpec](https://developer.android.com/reference/javax/crypto/spec/RC5ParameterSpec) This class specifies the parameters used with the [*RC5*](http://www.ietf.org/rfc/rfc2040.txt) algorithm. [RSAKeyGenParameterSpec](https://developer.android.com/reference/java/security/spec/RSAKeyGenParameterSpec) This class specifies the set of parameters used to generate an RSA key pair.   

*** ** * ** ***

A (transparent) specification of cryptographic parameters.

This interface contains no methods or constants. Its only purpose is to group (and provide type safety for) all parameter specifications. All parameter specifications must implement this interface.
**See also:**

- `https://developer.android.com/reference/java/security/AlgorithmParameters`
- `https://developer.android.com/reference/java/security/spec/DSAParameterSpec`