Enum Class PowerAuthStep
- All Implemented Interfaces:
Serializable,Comparable<PowerAuthStep>,Constable
PowerAuth step enumeration
- Author:
- Lukas Lukovsky, lukas.lukovsky@wultra.com
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreation of new activation using custom identity attributesCreation of new activationDeprecated.Recovering an activationRemoval of an existing activationStatus retrieval of an existing activationSend and verify an encrypted requestConfirming an activation recoverySend and verify a signed and encrypted requestCompute an offline signatureVerifying a signed requestCreating new tokenSend an encrypted request with token-based authenticationRemoving a previously created tokenValidating a previously created tokenCommitting upgrade from activation version 2 to version 3Starting upgrade from activation version 2 to version 3Unlocking secure vault -
Method Summary
Modifier and TypeMethodDescriptionalias()static PowerAuthStepfromMethod(String value) Detects a PowerAuth step from a provided valueid()static PowerAuthStepReturns the enum constant of this class with the specified name.static PowerAuthStep[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVATION_CREATE_CUSTOM
Creation of new activation -
ACTIVATION_CREATE
Creation of new activation using custom identity attributes -
ACTIVATION_PREPARE
Deprecated.Former creation of new activation -
ACTIVATION_REMOVE
Removal of an existing activation -
ACTIVATION_RECOVERY
Recovering an activation -
ACTIVATION_STATUS
Status retrieval of an existing activation -
ENCRYPT
Send and verify an encrypted request -
RECOVERY_CONFIRM
Confirming an activation recovery -
SIGN_ENCRYPT
Send and verify a signed and encrypted request -
SIGNATURE_OFFLINE_COMPUTE
Compute an offline signature -
SIGNATURE_VERIFY
Verifying a signed request -
TOKEN_CREATE
Creating new token -
TOKEN_ENCRYPT
Send an encrypted request with token-based authentication -
TOKEN_REMOVE
Removing a previously created token -
TOKEN_VALIDATE
Validating a previously created token -
UPGRADE_COMMIT
Committing upgrade from activation version 2 to version 3 -
UPGRADE_START
Starting upgrade from activation version 2 to version 3 -
VAULT_UNLOCK
Unlocking secure vault
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
alias
- Returns:
- Alis of the step
-
description
- Returns:
- Description of the step
-
id
- Returns:
- Unique identification of the step
-
fromMethod
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
-