Interface SecureCodeInputer


  • public interface SecureCodeInputer
    Secure pin inputer interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void finish()
      Close the input session respond back to listener with result
      void input​(byte digit)
      Input the byte for the verification.
      void reset()
      Reset the added bytes from the memory
    • Method Detail

      • input

        void input​(byte digit)
        Input the byte for the verification. Should be followed by finish method after entering all the digits to finish the input IMPORTANT: The digit you want to input must be Hexadecimal format Example:
        byte[] pin = {0x31,0x32,0x33,0x34} for (byte digit : pin) { inputter.input(digit); } inputter.finish():
        Parameters:
        digit - will be appended with previous digit in the memory
      • reset

        void reset()
        Reset the added bytes from the memory
      • finish

        void finish()
        Close the input session respond back to listener with result