public interface PassphraseInterfacce
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancelAllowed()
True, if this prompt can be canceled by the user; i.e. the user need not enter a passphrase.
|
void |
setCancelAllowed(boolean allowCancel)
Set this prompt object to allow cancelling or not.
|
void |
setMessage(java.lang.Object promptMessageObject)
Set the prompt object that should be presented to the user as information what passphrase is
required.
|
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.
|
boolean isCancelAllowed()
void setCancelAllowed(boolean allowCancel)
allowCancel - If true, canceling the prompt is allowed.void setMessage(java.lang.Object promptMessageObject)
promptMessageObject - The object from which the implementation can get a human readable string that gives
information what passphrase the user should enter.void setProtectedResourceInfo(java.lang.Object protectedResourceInfo)
protectedResourceInfo - The object that specifies the protected resource in more detail; e.g. the smart card.
The PKCS#11 provider may provide a TokenInfo object.IAIK PKCS#11 Provider 1.10.0
(c) 2002 IAIK, (c) 2003, 2026 SIC