Class PopupGUIPasswordProvider
java.lang.Object
ghidra.formats.gfilesystem.crypto.PopupGUIPasswordProvider
- All Implemented Interfaces:
CryptoProvider,PasswordProvider
Pops up a GUI dialog prompting the user to enter a password for the specified file.
The dialog is presented to the user when the iterator's hasNext() is called.
Repeated requests to the same iterator will adjust the dialog's title with a "try count" to help the user understand the previous password was unsuccessful.
Iterator's hasNext() will return false if the user has previously canceled the dialog,
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.formats.gfilesystem.crypto.CryptoProvider
CryptoProvider.Session -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPasswordsFor(FSRL fsrl, String prompt, CryptoProvider.Session session) Returns a sequence of passwords (ordered by quality) that may apply to the specified file.
-
Constructor Details
-
PopupGUIPasswordProvider
public PopupGUIPasswordProvider()
-
-
Method Details
-
getPasswordsFor
Description copied from interface:PasswordProviderReturns a sequence of passwords (ordered by quality) that may apply to the specified file.- Specified by:
getPasswordsForin interfacePasswordProvider- Parameters:
fsrl-FSRLpath to the password protected fileprompt- optional prompt that may be displayed to a usersession- a place to hold state values that persist across related queries- Returns:
Iteratorof possible passwords
-