Class WinDPAPIKeyring
- java.lang.Object
-
- org.correomqtt.business.keyring.BaseKeyring
-
- org.correomqtt.business.keyring.windpapi.WinDPAPIKeyring
-
- All Implemented Interfaces:
Keyring,BaseExtensionPoint<Object>,KeyringHook,org.pf4j.ExtensionPoint
@Extension public class WinDPAPIKeyring extends BaseKeyring implements KeyringHook
-
-
Field Summary
Fields Modifier and Type Field Description static StringFAILED_TO_PARSE_DATA_FROM_WIN_DPAPIstatic StringFAILED_TO_UNPROTECT_DATA_WITH_WIN_DPAPI
-
Constructor Summary
Constructors Constructor Description WinDPAPIKeyring()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetIdentifier()StringgetName()StringgetPassword(String label)booleanisSupported()booleanrequiresUserinput()voidsetPassword(String label, String password)-
Methods inherited from class org.correomqtt.business.keyring.BaseKeyring
toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.correomqtt.plugin.spi.BaseExtensionPoint
getConfigClass, onConfigReceived
-
Methods inherited from interface org.correomqtt.business.keyring.Keyring
getSortIndex
-
-
-
-
Field Detail
-
FAILED_TO_UNPROTECT_DATA_WITH_WIN_DPAPI
public static final String FAILED_TO_UNPROTECT_DATA_WITH_WIN_DPAPI
- See Also:
- Constant Field Values
-
FAILED_TO_PARSE_DATA_FROM_WIN_DPAPI
public static final String FAILED_TO_PARSE_DATA_FROM_WIN_DPAPI
- See Also:
- Constant Field Values
-
-
Method Detail
-
requiresUserinput
public boolean requiresUserinput()
- Specified by:
requiresUserinputin interfaceKeyring
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceKeyring
-
getPassword
public String getPassword(String label)
- Specified by:
getPasswordin interfaceKeyring
-
setPassword
public void setPassword(String label, String password)
- Specified by:
setPasswordin interfaceKeyring
-
isSupported
public boolean isSupported()
- Specified by:
isSupportedin interfaceKeyring
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin interfaceKeyring
-
-