Package com.biglybt.ui.swt.auth
Class CryptoWindow
java.lang.Object
com.biglybt.ui.swt.auth.CryptoWindow
- All Implemented Interfaces:
CryptoManagerPasswordHandler
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.biglybt.core.security.CryptoManagerPasswordHandler
CryptoManagerPasswordHandler.passwordDetails
-
Field Summary
FieldsFields inherited from interface com.biglybt.core.security.CryptoManagerPasswordHandler
ACTION_DECRYPT, ACTION_ENCRYPT, ACTION_PASSWORD_SET, HANDLER_TYPE_ALL, HANDLER_TYPE_SYSTEM, HANDLER_TYPE_UNKNOWN, HANDLER_TYPE_USER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getPassword
(int handler_type, int action_type, boolean last_pw_incorrect, String reason) Gets a passwordvoid
passwordOK
(int handler_type, CryptoManagerPasswordHandler.passwordDetails details)
-
Field Details
-
DAY
private static final int DAY- See Also:
-
-
Constructor Details
-
CryptoWindow
public CryptoWindow() -
CryptoWindow
public CryptoWindow(boolean stand_alone)
-
-
Method Details
-
getHandlerType
public int getHandlerType()- Specified by:
getHandlerType
in interfaceCryptoManagerPasswordHandler
-
getPassword
public CryptoManagerPasswordHandler.passwordDetails getPassword(int handler_type, int action_type, boolean last_pw_incorrect, String reason) Description copied from interface:CryptoManagerPasswordHandler
Gets a password- Specified by:
getPassword
in interfaceCryptoManagerPasswordHandler
- Parameters:
handler_type
- from AESecurityManager.HANDLER_x enumaction_type
- from above ACTION_x enumreason
- reason for the password being sought- Returns:
- password details or null if no password available
-
passwordOK
- Specified by:
passwordOK
in interfaceCryptoManagerPasswordHandler
-