Enum Class CHVerificationManager
java.lang.Object
java.lang.Enum<CHVerificationManager>
com.gemalto.mfs.mwsdk.payment.chverification.CHVerificationManager
- All Implemented Interfaces:
Serializable,Comparable<CHVerificationManager>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionAn API to get the CHVerifier object.An API to determine theCHVerificationMethodto be used by the MPA.An API to get the default Flexible Client Device Cardholder Verification Method (F CD-CVM).booleanThis is an API for checking if the card holder has been previously verified.booleanAn API to check whether the F CD-CVM has been already set before.booleanAn API to check if the SDK supports Flexible Client Device Cardholder Verification Method (F CD-CVM).static CHVerificationManagerReturns the enum constant of this class with the specified name.static CHVerificationManager[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
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
-
getCVMethod
An API to determine theCHVerificationMethodto be used by the MPA.- Returns:
instance
-
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). SeeCHVerificationMethodfor the list of CD-CVM.- Returns:
- TRUE is supported. Otherwise, FALSE.
-
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 (Seeand DeviceCVMManager). SeeCHVerificationMethodfor 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.
-