Package eu.europa.esig.dss.token
Class PrefilledPasswordCallback
java.lang.Object
eu.europa.esig.dss.token.PrefilledPasswordCallback
- All Implemented Interfaces:
PasswordInputCallback
,Destroyable
Class that hold a simple password.
-
Constructor Summary
ConstructorDescriptionThe default constructor for PrefillPasswordCallback. -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
char[]
Retrieve the password (from the user)boolean
-
Constructor Details
-
PrefilledPasswordCallback
The default constructor for PrefillPasswordCallback.- Parameters:
password
- the password to use
-
-
Method Details
-
getPassword
public char[] getPassword()Description copied from interface:PasswordInputCallback
Retrieve the password (from the user)- Specified by:
getPassword
in interfacePasswordInputCallback
- Returns:
- the password
-
destroy
- Specified by:
destroy
in interfaceDestroyable
- Throws:
DestroyFailedException
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceDestroyable
-