Class ChangeReferenceDataDialog


  • public class ChangeReferenceDataDialog
    extends java.lang.Object
    Change Reference Data dialog for the SmartCard-HSM. This dialog retrieves the current PIN and new PIN values from the user.
    Author:
    lew
    • Constructor Detail

      • ChangeReferenceDataDialog

        public ChangeReferenceDataDialog()
    • Method Detail

      • showDialog

        public boolean showDialog()
        Show the Change Reference Data dialog.
        Returns:
        true if current PIN and new PIN were correctly entered, false if the dialog was cancelled
      • setPasswordStatus

        public void setPasswordStatus​(CHVCardServiceWithControl.PasswordStatus status)
        Set the current password status which will be displayed in the dialog
        Parameters:
        status - the password status
      • getCurrentPIN

        public byte[] getCurrentPIN()
        Returns:
        the current PIN or an empty array
      • getNewPIN

        public byte[] getNewPIN()
        Returns:
        the new PIN or an empty array