Enum Class PowerAuthStep

java.lang.Object
java.lang.Enum<PowerAuthStep>
io.getlime.security.powerauth.lib.cmd.consts.PowerAuthStep
All Implemented Interfaces:
Serializable, Comparable<PowerAuthStep>, Constable

public enum PowerAuthStep extends Enum<PowerAuthStep>
PowerAuth step enumeration
Author:
Lukas Lukovsky, lukas.lukovsky@wultra.com
  • Enum Constant Details

    • ACTIVATION_CREATE_CUSTOM

      public static final PowerAuthStep ACTIVATION_CREATE_CUSTOM
      Creation of new activation
    • ACTIVATION_CREATE

      public static final PowerAuthStep ACTIVATION_CREATE
      Creation of new activation using custom identity attributes
    • ACTIVATION_PREPARE

      @Deprecated public static final PowerAuthStep ACTIVATION_PREPARE
      Deprecated.
      Former creation of new activation
    • ACTIVATION_REMOVE

      public static final PowerAuthStep ACTIVATION_REMOVE
      Removal of an existing activation
    • ACTIVATION_RECOVERY

      public static final PowerAuthStep ACTIVATION_RECOVERY
      Recovering an activation
    • ACTIVATION_STATUS

      public static final PowerAuthStep ACTIVATION_STATUS
      Status retrieval of an existing activation
    • ENCRYPT

      public static final PowerAuthStep ENCRYPT
      Send and verify an encrypted request
    • RECOVERY_CONFIRM

      public static final PowerAuthStep RECOVERY_CONFIRM
      Confirming an activation recovery
    • SIGN_ENCRYPT

      public static final PowerAuthStep SIGN_ENCRYPT
      Send and verify a signed and encrypted request
    • SIGNATURE_OFFLINE_COMPUTE

      public static final PowerAuthStep SIGNATURE_OFFLINE_COMPUTE
      Compute an offline signature
    • SIGNATURE_VERIFY

      public static final PowerAuthStep SIGNATURE_VERIFY
      Verifying a signed request
    • TOKEN_CREATE

      public static final PowerAuthStep TOKEN_CREATE
      Creating new token
    • TOKEN_ENCRYPT

      public static final PowerAuthStep TOKEN_ENCRYPT
      Send an encrypted request with token-based authentication
    • TOKEN_REMOVE

      public static final PowerAuthStep TOKEN_REMOVE
      Removing a previously created token
    • TOKEN_VALIDATE

      public static final PowerAuthStep TOKEN_VALIDATE
      Validating a previously created token
    • UPGRADE_COMMIT

      public static final PowerAuthStep UPGRADE_COMMIT
      Committing upgrade from activation version 2 to version 3
    • UPGRADE_START

      public static final PowerAuthStep UPGRADE_START
      Starting upgrade from activation version 2 to version 3
    • VAULT_UNLOCK

      public static final PowerAuthStep VAULT_UNLOCK
      Unlocking secure vault
  • Method Details

    • values

      public static PowerAuthStep[] 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 PowerAuthStep 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
    • alias

      public String alias()
      Returns:
      Alis of the step
    • description

      public String description()
      Returns:
      Description of the step
    • id

      public String id()
      Returns:
      Unique identification of the step
    • fromMethod

      public static PowerAuthStep fromMethod(String value)
      Detects a PowerAuth step from a provided value
      Parameters:
      value - Value to detect the step from
      Returns:
      PowerAuth step enum value matching the provided value
      Throws:
      IllegalStateException - When the value is not recognized as a PowerAuth step