public interface PassphraseInterfacce
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelAllowed()
True, if this prompt can be canceled by the user; i.e.
|
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.
|
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 JavaSecurity Website https://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. Version 1.9.4