Prompt the new passphrase and the old passphrase if required from the user. Display the prompt
message to him. Block, until user has finished. If user is allowed to cancel the dialog, and
the user cancels the dialog, then return null.
public void setMessage(java.lang.Object promptMessageObject)
Set the prompt object that should be presented to the user as information what passphrase is
required. It is recommended that the toString() method of this object provides a telling output
for the user. If the implementation knows the concrete class of the object it may use different
means to create a message from the given object.
promptMessageObject - The object from which the implementation can get a human readable string that gives
information what passphrase the user should enter.
public void setProtectedResourceInfo(java.lang.Object protectedResourceInfo)
Set the object that specifies the protectd resource; i.e. the resource to which the user needs
to authenticate; e.g. the name of the smart card for which a PIN is required. The PKCS#11
provider may provide a TokenInfo object.