ibm.security.internal.spec

Enum NamedParameterSpec.CURVE

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      Ed25519
      The Ed25519 parameters
      Ed448
      The Ed448 parameters
      FFDHE2048
      The FFDHE2048 parameters
      FFDHE3072
      The FFDHE3072 parameters
      FFDHE4096
      The FFDHE4096 parameters
      FFDHE6144
      The FFDHE6144 parameters
      FFDHE8192
      The FFDHE8192 parameters
      X25519
      The X25519 parameters
      X448
      The X448 parameters
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static NamedParameterSpec.CURVE valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static NamedParameterSpec.CURVE[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static NamedParameterSpec.CURVE[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (NamedParameterSpec.CURVE c : NamedParameterSpec.CURVE.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NamedParameterSpec.CURVE valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null

© Portions Copyright 2003, 2023 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2023 Oracle and/or its affiliates. All rights reserved.