Handle CDCVM
Overview
NFC Wallet SDK supports multiple CVM (Cardholder Verification Method) to authenticate the end user during payment, such as CDCCVM, online PIN and signature.
CDCVM (Consumer Device Cardholder Verification Method) is a CVM relying on device to verify the end user before an NFC payment.
Most NFC Wallet programs use CDCVM. CDCVM relies on the device’s user authentication.
In this section, we explain that NFC Wallet SDK is relying on Android secure device unlock method as CDCVM.
CDCVM Android (device unlock)
NFC Wallet SDK for Android uses the Android secure lock screen for CDCVM. It supports:
Biometric: strong biometric credentials, such as fingerprint or face.
Device credentials (keyguard): PIN, pattern, or password.
Recommendations
Handle CDCVM early in your integration:
Check device CDCVM capabilities before before you start wallet enrollment or Tokenization.
Prompt the end user to enable a secure lock screen when required.
SDK integration
Check device CDCVM capabilities
Use DeviceCVMEligibilityChecker.checkDeviceEligibility to check device capabilities.
It returns a DeviceCVMEligibilityResult. Use it to evaluate biometric and keyguard support.
Run this check after you initialize the NFC Wallet SDK, and before you start wallet enrollment or Tokenization.
Check biometric support
Call DeviceCVMEligibilityResult.getBiometricsSupport.
It returns BiometricSupport.SUPPORTED when biometric CDCVM is available. Check the possible error in case biometric is not supported in table below.
Check device keyguard support
Call DeviceCVMEligibilityResult.getDeviceKeyguardSupport.
It returns DeviceKeyguardSupport.SUPPORTED when device keyguard CDCVM is available. Check the possible error in case keygard is not supported in table below.
Implementation example
Last updated
Was this helpful?