Password Dialog Functions.
More...
|
| static std::string | Prompt (const std::string &caption, const std::string &prompt="", int maxChars=1024) |
| | Open a dialog box to receive a password with user-supplied prompt. More...
|
| |
Password Dialog Functions.
◆ Prompt()
| static std::string dipki::Pwd::Prompt |
( |
const std::string & |
caption, |
|
|
const std::string & |
prompt = "", |
|
|
int |
maxChars = 1024 |
|
) |
| |
|
static |
Open a dialog box to receive a password with user-supplied prompt.
- Parameters
-
| caption | Caption for dialog window |
| prompt | Wording for prompt (optional, default="Enter password:") |
| maxChars | Maximum characters expected in password (optional, default=1024) |
- Returns
- String containing password or the empty string
"" if user cancels.