Enum Class BrainpoolCurveAlgorithm

java.lang.Object
java.lang.Enum<BrainpoolCurveAlgorithm>
io.github.astrapi69.crypt.api.algorithm.BrainpoolCurveAlgorithm
All Implemented Interfaces:
Algorithm, Serializable, Comparable<BrainpoolCurveAlgorithm>, Constable

public enum BrainpoolCurveAlgorithm extends Enum<BrainpoolCurveAlgorithm> implements Algorithm
The enum BrainpoolCurveAlgorithm represents the Brainpool elliptic curve algorithms. It is part of the Brainpool family of curves which were defined by the Brainpool working group (ECC Brainpool). These curves are designed for use in public key cryptography.
  • Enum Constant Details

  • Field Details

    • BRAINPOOLP160R1_VALUE

      public static final String BRAINPOOLP160R1_VALUE
      The string constant brainpoolP160r1_VALUE.
      See Also:
    • BRAINPOOLP192R1_VALUE

      public static final String BRAINPOOLP192R1_VALUE
      The string constant brainpoolP192r1_VALUE.
      See Also:
    • BRAINPOOLP224R1_VALUE

      public static final String BRAINPOOLP224R1_VALUE
      The string constant brainpoolP224r1_VALUE.
      See Also:
    • BRAINPOOLP256R1_VALUE

      public static final String BRAINPOOLP256R1_VALUE
      The string constant brainpoolP256r1_VALUE.
      See Also:
    • BRAINPOOLP320R1_VALUE

      public static final String BRAINPOOLP320R1_VALUE
      The string constant brainpoolP320r1_VALUE.
      See Also:
    • BRAINPOOLP384R1_VALUE

      public static final String BRAINPOOLP384R1_VALUE
      The string constant brainpoolP384r1_VALUE.
      See Also:
    • BRAINPOOLP512R1_VALUE

      public static final String BRAINPOOLP512R1_VALUE
      The string constant brainpoolP512r1_VALUE.
      See Also:
    • BRAINPOOLP160T1_VALUE

      public static final String BRAINPOOLP160T1_VALUE
      The string constant brainpoolP160t1_VALUE.
      See Also:
    • BRAINPOOLP192T1_VALUE

      public static final String BRAINPOOLP192T1_VALUE
      The string constant brainpoolP192t1_VALUE.
      See Also:
    • BRAINPOOLP224T1_VALUE

      public static final String BRAINPOOLP224T1_VALUE
      The string constant brainpoolP224t1_VALUE.
      See Also:
    • BRAINPOOLP256T1_VALUE

      public static final String BRAINPOOLP256T1_VALUE
      The string constant brainpoolP256t1_VALUE.
      See Also:
    • BRAINPOOLP320T1_VALUE

      public static final String BRAINPOOLP320T1_VALUE
      The string constant brainpoolP320t1_VALUE.
      See Also:
    • BRAINPOOLP384T1_VALUE

      public static final String BRAINPOOLP384T1_VALUE
      The string constant brainpoolP384t1_VALUE.
      See Also:
    • BRAINPOOLP512T1_VALUE

      public static final String BRAINPOOLP512T1_VALUE
      The string constant brainpoolP512t1_VALUE.
      See Also:
  • Method Details

    • values

      public static BrainpoolCurveAlgorithm[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BrainpoolCurveAlgorithm valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getAlgorithm

      public String getAlgorithm()
      Gets the algorithm name.
      Specified by:
      getAlgorithm in interface Algorithm
      Returns:
      the algorithm name.