Enum Class SignatureType

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

public enum SignatureType extends Enum<SignatureType>
Response enum for PowerAuth Signature Types.
Author:
Petr Dvorak, petr@wultra.com
  • Enum Constant Details

    • POSSESSION

      public static final SignatureType POSSESSION
      1FA signature using possession factor key, value = "possession"
    • KNOWLEDGE

      public static final SignatureType KNOWLEDGE
      1FA signature using knowledge factor key, value = "knowledge"
    • BIOMETRY

      public static final SignatureType BIOMETRY
      1FA signature using biometry factor key, value = "biometry"
    • POSSESSION_KNOWLEDGE

      public static final SignatureType POSSESSION_KNOWLEDGE
      2FA signature using possession and knowledge factor key, value = "possession_knowledge"
    • POSSESSION_BIOMETRY

      public static final SignatureType POSSESSION_BIOMETRY
      2FA signature using possession and biometry factor key, value = "possession_biometry"
    • POSSESSION_KNOWLEDGE_BIOMETRY

      public static final SignatureType POSSESSION_KNOWLEDGE_BIOMETRY
      3FA signature using possession, knowledge and biometry factor key, value = "possession_knowledge_biometry"
  • Method Details

    • values

      public static SignatureType[] 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 SignatureType 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
    • enumFromString

      public static SignatureType enumFromString(String value)
      Get enum value from provided string. In case the provided value does not match any value, null value is returned.
      Parameters:
      value - String to get the enum value for.
      Returns:
      Enum value.