Interface PinChangeHandler

All Superinterfaces:
CancelableHandler

public interface PinChangeHandler extends CancelableHandler
The object handling the old and new PIN provided by the end-user.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method must be invoked if the operation must be canceled.
    void
    pins(char[] oldPin, char[] newPin)
    Specify the old PIN and the new PIN.
  • Method Details

    • cancel

      void cancel()
      This method must be invoked if the operation must be canceled.
      Specified by:
      cancel in interface CancelableHandler
      Throws:
      IllegalStateException - if either this method or pins(char[], char[]) were previously invoked
    • pins

      void pins(char[] oldPin, char[] newPin)
      Specify the old PIN and the new PIN. To change a PIN, the SDK requires to provide the old PIN. When this method is invoked, the SDK will validate the provided PINs.
      Parameters:
      oldPin - the old PIN
      newPin - the new PIN
      Throws:
      IllegalStateException - if either cancel() or this method were previously invoked