Package com.biglybt.ui.swt.auth
Class CryptoWindow
- java.lang.Object
-
- com.biglybt.ui.swt.auth.CryptoWindow
-
- All Implemented Interfaces:
CryptoManagerPasswordHandler
public class CryptoWindow extends java.lang.Object implements CryptoManagerPasswordHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
CryptoWindow.cryptoDialog
-
Nested classes/interfaces inherited from interface com.biglybt.core.security.CryptoManagerPasswordHandler
CryptoManagerPasswordHandler.passwordDetails
-
-
Field Summary
Fields Modifier and Type Field Description private static int
DAY
-
Fields 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 Constructor Description CryptoWindow()
CryptoWindow(boolean stand_alone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHandlerType()
CryptoManagerPasswordHandler.passwordDetails
getPassword(int handler_type, int action_type, boolean last_pw_incorrect, java.lang.String reason)
Gets a passwordvoid
passwordOK(int handler_type, CryptoManagerPasswordHandler.passwordDetails details)
-
-
-
Field Detail
-
DAY
private static final int DAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHandlerType
public int getHandlerType()
- Specified by:
getHandlerType
in interfaceCryptoManagerPasswordHandler
-
getPassword
public CryptoManagerPasswordHandler.passwordDetails getPassword(int handler_type, int action_type, boolean last_pw_incorrect, java.lang.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
public void passwordOK(int handler_type, CryptoManagerPasswordHandler.passwordDetails details)
- Specified by:
passwordOK
in interfaceCryptoManagerPasswordHandler
-
-