Package com.biglybt.core.security
Interface CryptoManagerPasswordHandler
- All Known Implementing Classes:
CryptoWindow
public interface CryptoManagerPasswordHandler
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
HANDLER_TYPE_UNKNOWN is not for public usestatic final int
-
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
-
HANDLER_TYPE_UNKNOWN
static final int HANDLER_TYPE_UNKNOWNHANDLER_TYPE_UNKNOWN is not for public use- See Also:
-
HANDLER_TYPE_USER
static final int HANDLER_TYPE_USER- See Also:
-
HANDLER_TYPE_SYSTEM
static final int HANDLER_TYPE_SYSTEM- See Also:
-
HANDLER_TYPE_ALL
static final int HANDLER_TYPE_ALL- See Also:
-
ACTION_ENCRYPT
static final int ACTION_ENCRYPT- See Also:
-
ACTION_DECRYPT
static final int ACTION_DECRYPT- See Also:
-
ACTION_PASSWORD_SET
static final int ACTION_PASSWORD_SET- See Also:
-
-
Method Details
-
getHandlerType
int getHandlerType() -
getPassword
CryptoManagerPasswordHandler.passwordDetails getPassword(int handler_type, int action_type, boolean last_pw_incorrect, String reason) Gets a password- 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
-