Package com.yubico.yubikit.management
Class DeviceConfig
java.lang.Object
com.yubico.yubikit.management.DeviceConfig
Describes the configuration of a YubiKey which can be altered via the Management application.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder class for use withManagementSession.updateDeviceConfig(com.yubico.yubikit.management.DeviceConfig, boolean, byte[], byte[])
when altering the device configuration. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
In pure CCID mode eject/inject the card with the button.static final int
Enables remote wakeup. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the timeout used when in CCID-only mode withFLAG_EJECT
enabled.Returns the timeout value used by the YubiOTP application when waiting for a user presence check (physical touch).Returns the device flags that are set.getEnabledCapabilities
(com.yubico.yubikit.core.Transport transport) Get the currently enabled capabilities for a given Interface.Returns the NFC restricted flag.int
hashCode()
toString()
-
Field Details
-
FLAG_EJECT
public static final int FLAG_EJECTIn pure CCID mode eject/inject the card with the button.- See Also:
-
FLAG_REMOTE_WAKEUP
public static final int FLAG_REMOTE_WAKEUPEnables remote wakeup.- See Also:
-
-
Method Details
-
getEnabledCapabilities
Get the currently enabled capabilities for a given Interface.NOTE: This method will return null if the Interface is not supported by the YubiKey, OR if the enabled capabilities state isn't readable. The YubiKey 4 series, for example, does not return enabled-status for USB applications.
- Parameters:
transport
- the physical transport to get enabled capabilities for- Returns:
- the enabled capabilities, represented as
Capability
bits being set (1) or not (0)
-
getAutoEjectTimeout
Returns the timeout used when in CCID-only mode withFLAG_EJECT
enabled. -
getChallengeResponseTimeout
Returns the timeout value used by the YubiOTP application when waiting for a user presence check (physical touch). -
getNfcRestricted
Returns the NFC restricted flag. -
getDeviceFlags
Returns the device flags that are set. -
equals
-
hashCode
public int hashCode() -
toString
-