Class ChangeReferenceDataDialog
- java.lang.Object
-
- de.cardcontact.opencard.service.smartcardhsm.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 Summary
Constructors Constructor Description ChangeReferenceDataDialog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getCurrentPIN()
byte[]
getNewPIN()
void
setPasswordStatus(CHVCardServiceWithControl.PasswordStatus status)
Set the current password status which will be displayed in the dialogboolean
showDialog()
Show the Change Reference Data dialog.
-
-
-
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
-
-