com.aelitis.azureus.core.security
Interface CryptoManagerPasswordHandler
- All Known Implementing Classes:
- CryptoWindow
public interface CryptoManagerPasswordHandler
HANDLER_TYPE_UNKNOWN
static final int HANDLER_TYPE_UNKNOWN
- HANDLER_TYPE_UNKNOWN is not for public use
- See Also:
- Constant Field Values
HANDLER_TYPE_USER
static final int HANDLER_TYPE_USER
- See Also:
- Constant Field Values
HANDLER_TYPE_SYSTEM
static final int HANDLER_TYPE_SYSTEM
- See Also:
- Constant Field Values
HANDLER_TYPE_ALL
static final int HANDLER_TYPE_ALL
- See Also:
- Constant Field Values
ACTION_ENCRYPT
static final int ACTION_ENCRYPT
- See Also:
- Constant Field Values
ACTION_DECRYPT
static final int ACTION_DECRYPT
- See Also:
- Constant Field Values
ACTION_PASSWORD_SET
static final int ACTION_PASSWORD_SET
- See Also:
- Constant Field Values
getHandlerType
int getHandlerType()
getPassword
CryptoManagerPasswordHandler.passwordDetails getPassword(int handler_type,
int action_type,
boolean last_pw_incorrect,
java.lang.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
void passwordOK(int handler_type,
CryptoManagerPasswordHandler.passwordDetails details)