public final class PassphraseHolder extends java.lang.Object implements PassphrasePrompt
Modifier and Type | Field and Description |
---|---|
protected char[] |
passphrase_
The passphrase
|
Constructor and Description |
---|
PassphraseHolder()
Empty constructor.
|
PassphraseHolder(char[] passphrase)
Constructor taking the passphrase.
|
Modifier and Type | Method and Description |
---|---|
char[] |
getPassphrase()
Gets the passphrase.
|
boolean |
isCancelAllowed()
The implementation always returns false.
|
char[] |
promptPassphrase()
Gets the passphrase.
|
void |
setCancelAllowed(boolean allowCancel)
The implementation of this method does nothing.
|
void |
setMessage(java.lang.Object promptMessageObject)
The implementation of this method does nothing.
|
void |
setPassphrase(char[] passphrase)
Sets the passphrase.
|
void |
setProtectedResourceInfo(java.lang.Object protectedResourceInfo)
The implementation of this method does nothing.
|
public PassphraseHolder()
public PassphraseHolder(char[] passphrase)
passphrase
- public void setMessage(java.lang.Object promptMessageObject)
setMessage
in interface PassphraseInterfacce
promptMessageObject
- Ignored.public void setProtectedResourceInfo(java.lang.Object protectedResourceInfo)
setProtectedResourceInfo
in interface PassphraseInterfacce
protectedResourceInfo
- Ignored.public char[] getPassphrase()
public void setPassphrase(char[] passphrase)
passphrase
- The passphrase.public boolean isCancelAllowed()
isCancelAllowed
in interface PassphraseInterfacce
public void setCancelAllowed(boolean allowCancel)
setCancelAllowed
in interface PassphraseInterfacce
allowCancel
- Ignored.public char[] promptPassphrase()
promptPassphrase
in interface PassphrasePrompt
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