Enum Class CHVerificationManager

java.lang.Object
java.lang.Enum<CHVerificationManager>
com.gemalto.mfs.mwsdk.payment.chverification.CHVerificationManager
All Implemented Interfaces:
Serializable, Comparable<CHVerificationManager>, Constable

public enum CHVerificationManager extends Enum<CHVerificationManager>
A singleton factory class that acts as a manager of the card holder verification method. The idea is to get all the information needed after the first card enrollment to decide what is the most appropriate CVM to be used.
  • Enum Constant Details

  • Method Details

    • values

      public static CHVerificationManager[] 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 CHVerificationManager 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
    • getCVMethod

      An API to determine the CHVerificationMethod to be used by the MPA.
      Returns:
      instance
    • getCHVerifier

      public CHVerificationResult<Object> getCHVerifier()
      An API to get the CHVerifier object.
      Returns:
      CHVerificationResult
    • isCHVerified

      public boolean isCHVerified()
      This is an API for checking if the card holder has been previously verified.
      Returns:
      boolean - true if previously verified, false if not verified before
    • isFCDCVMSupported

      public boolean isFCDCVMSupported()
      An API to check if the SDK supports Flexible Client Device Cardholder Verification Method (F CD-CVM). See CHVerificationMethod for the list of CD-CVM.
      Returns:
      TRUE is supported. Otherwise, FALSE.
    • getDefaultFCdCvm

      public CHVerificationMethod getDefaultFCdCvm()
      An API to get the default Flexible Client Device Cardholder Verification Method (F CD-CVM). The value is set after setting up the CD-CVM (See and DeviceCVMManager). See CHVerificationMethod for the list of CD-CVM.
      Returns:
      CHVerificationMethod
    • isFCdCvmSet

      public boolean isFCdCvmSet()
      An API to check whether the F CD-CVM has been already set before.
      Returns:
      TRUE if set. FALSE, otherwise.