Class NamedParameterSpec

java.lang.Object
java.security.spec.NamedParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec
Direct Known Subclasses:
ECGenParameterSpec

public class NamedParameterSpec extends Object implements AlgorithmParameterSpec
This class is used to specify any algorithm parameters that are determined by a standard name. This class also holds constants for standard parameter set names. The names of these constants exactly match the corresponding parameter set name. For example, NamedParameterSpec.X25519 represents the parameter set identified by the string "X25519". These strings are defined in the Java Security Standard Algorithm Names Specification.
Since:
11
External Specifications
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final NamedParameterSpec
    The Ed25519 parameters
    static final NamedParameterSpec
    The Ed448 parameters
    static final NamedParameterSpec
    The ML-DSA-44 parameters
    static final NamedParameterSpec
    The ML-DSA-65 parameters
    static final NamedParameterSpec
    The ML-DSA-87 parameters
    static final NamedParameterSpec
    The ML-KEM-1024 parameters
    static final NamedParameterSpec
    The ML-KEM-512 parameters
    static final NamedParameterSpec
    The ML-KEM-768 parameters
    static final NamedParameterSpec
    The X25519 parameters
    static final NamedParameterSpec
    The X448 parameters
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a parameter specification using a standard (or predefined) name stdName.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the standard name that determines the algorithm parameters.

    Methods declared in class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    Modifier and Type
    Method
    Description
    protected Object
    Answers a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.
    boolean
    Compares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.
    protected void
    Deprecated, for removal: This API element is subject to removal in a future version.
    May cause performance issues, deadlocks and hangs.
    final Class<? extends Object>
    Answers the unique instance of java.lang.Class which represents the class of the receiver.
    int
    Answers an integer hash code for the receiver.
    final void
    Causes one thread which is waiting on the receiver to be made ready to run.
    final void
    Causes all threads which are waiting on the receiver to be made ready to run.
    Answers a string containing a concise, human-readable description of the receiver.
    final void
    Causes the thread which sent this message to be made not ready to run pending some change in the receiver (as indicated by notify or notifyAll).
    final void
    wait(long time)
    Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated by notify or notifyAll) or the expiration of the timeout.
    final void
    wait(long time, int frac)
    Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated by notify or notifyAll) or the expiration of the timeout.
  • Field Details

    • X25519

      public static final NamedParameterSpec X25519
      The X25519 parameters
    • X448

      public static final NamedParameterSpec X448
      The X448 parameters
    • ED25519

      public static final NamedParameterSpec ED25519
      The Ed25519 parameters
      Since:
      15
    • ED448

      public static final NamedParameterSpec ED448
      The Ed448 parameters
      Since:
      15
    • ML_DSA_44

      public static final NamedParameterSpec ML_DSA_44
      The ML-DSA-44 parameters
      Since:
      24
    • ML_DSA_65

      public static final NamedParameterSpec ML_DSA_65
      The ML-DSA-65 parameters
      Since:
      24
    • ML_DSA_87

      public static final NamedParameterSpec ML_DSA_87
      The ML-DSA-87 parameters
      Since:
      24
    • ML_KEM_512

      public static final NamedParameterSpec ML_KEM_512
      The ML-KEM-512 parameters
      Since:
      24
    • ML_KEM_768

      public static final NamedParameterSpec ML_KEM_768
      The ML-KEM-768 parameters
      Since:
      24
    • ML_KEM_1024

      public static final NamedParameterSpec ML_KEM_1024
      The ML-KEM-1024 parameters
      Since:
      24
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns the standard name that determines the algorithm parameters.
      Returns:
      the standard name.