Enum Class ActivationStatus

java.lang.Object
java.lang.Enum<ActivationStatus>
com.wultra.security.powerauth.client.model.enumeration.ActivationStatus
All Implemented Interfaces:
Serializable, Comparable<ActivationStatus>, Constable

public enum ActivationStatus extends Enum<ActivationStatus>
Enum representing activation status.
Author:
Petr Dvorak, petr@wultra.com
  • Enum Constant Details

    • CREATED

      public static final ActivationStatus CREATED
      Activation is created, but cannot be used as the mobile device did not send its public key, and hence it could not be committed on the server side.
    • PENDING_COMMIT

      public static final ActivationStatus PENDING_COMMIT
      Activation is pending commit. The mobile device already enrolled its public key, however, the commit method was not called yet.
    • ACTIVE

      public static final ActivationStatus ACTIVE
      Activation is ready, committed and can be used for signature verification.
    • BLOCKED

      public static final ActivationStatus BLOCKED
      Activation is blocked. It cannot be used for signature verification, but can be unblocked.
    • REMOVED

      public static final ActivationStatus REMOVED
      Activation is permanently removed (or non-existent). It cannot be used for signature verification, and it cannot be "unblocked".
  • Method Details

    • values

      public static ActivationStatus[] 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 ActivationStatus 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