| 38 | #define OPTIONAL_ENTROPY "tFeCowK#ScWxJb!td3uNoHDnt$LWdlWNTc7EsBwD" |
| 39 | |
| 40 | class SavedPasswords { |
| 41 | |
| 42 | public: |
| 43 | // returns count of saved passwords. doesn't really delete if bDelete is false |
| 44 | static int ClearSavedPasswords(BOOL bDelete); |
| 45 | |
| 46 | static BOOL SavePassword(LPCWSTR path, LPCWSTR password); |
| 47 | |
| 48 | static BOOL RetrievePassword(LPCWSTR path, LPWSTR password_buf, DWORD password_buf_len); |
| 49 | |
| 50 | int GetSavedPasswordsCount(); |
| 51 | |
| 52 | // disallow copying |
| 53 | SavedPasswords(SavedPasswords const&) = delete; |
| 54 | void operator=(SavedPasswords const&) = delete; |
| 55 | |
| 56 | SavedPasswords(); |
| 57 | virtual ~SavedPasswords(); |
| 58 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected