Class AbstractWalletPinService


  • public abstract class AbstractWalletPinService
    extends java.lang.Object
    This class is mainly used to setup a Wallet PIN service which the MPA needs to implement. Depending on the first card profile provisioned into the device, underlying abstract methods may be called to manage the Wallet PIN use cases. The MPA shall implement this class to pass to WalletPinManager.bindAbstractWalletPinService(AbstractWalletPinService) method invocation.
    • Constructor Detail

      • AbstractWalletPinService

        public AbstractWalletPinService()
    • Method Detail

      • onSetWalletPin

        public abstract void onSetWalletPin​(CHCodeVerifier chCodeVerifier)
        A method to set a new wallet PIN. The verifier parameter will accept 2 PIN entries. The later is used to confirm the first wallet PIN entered.
        Parameters:
        chCodeVerifier - - An object that accepts PIN entries. See CHCodeVerifier.
      • onVerifyWalletPin

        public abstract void onVerifyWalletPin​(CHCodeVerifier chCodeVerifier)
        A method to verify the current wallet PIN. The verifier parameter will be used for PIN entry. Callbacks will be dispatched in WalletPinEventListener
        IMPORTANT:
        In each failed verification, the allowed remaining attempts for invalid PIN re-entry will be decremented by 1. Meanwhile, it will be reset after a successful attempt.
        Parameters:
        chCodeVerifier - - An object that accepts PIN entries. See CHCodeVerifier.