Enum Class AlgorithmInfo.Status

java.lang.Object
java.lang.Enum<AlgorithmInfo.Status>
co.ankatech.ankasecure.sdk.model.AlgorithmInfo.Status
All Implemented Interfaces:
Serializable, Comparable<AlgorithmInfo.Status>, Constable
Enclosing class:
AlgorithmInfo

public static enum AlgorithmInfo.Status extends Enum<AlgorithmInfo.Status>
Lifecycle status as defined by the platform.

Status progression: EXPERIMENTAL → RECOMMENDED → LEGACY

  • Enum Constant Details

    • LEGACY

      public static final AlgorithmInfo.Status LEGACY
      Deprecated algorithm maintained for backward compatibility only.

      Characteristics:

      • Known vulnerabilities or superseded by better algorithms
      • May have sunset date set (check AlgorithmInfo.getSunsetDate())
      • Still functional but discouraged

      Use case: Existing keys only, plan migration

      Example: RSA-1024 (superseded by RSA-4096), SHA-1 (collision attacks)

    • EXPERIMENTAL

      public static final AlgorithmInfo.Status EXPERIMENTAL
      Preview or beta algorithm not ready for production use.

      Characteristics:

      • Under evaluation or standardization
      • API may change in future versions
      • Limited testing and documentation
      • No SLA or long-term support guarantee

      Use case: Research, testing, proof-of-concept only

      Example: Newly proposed NIST Round 4 candidates

  • Method Details

    • values

      public static AlgorithmInfo.Status[] 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 AlgorithmInfo.Status 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