public final class DeviceConfiguration
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnabled(TransportType transportType,
ApplicationType applicationType)
Checks whether that type of application is enabled via provided transport
|
Version |
getFirmwareVersion() |
FormFactor |
getFormFactor() |
int |
getSerial() |
boolean |
getSupported(TransportType transportType,
ApplicationType applicationType)
Checks whether that type of application is supported via provided transport
|
boolean |
isChanged()
Whether configuration was changed since it received from Yubikey
|
boolean |
isConfigLocked()
If Configuration Lock is set, changing any user-configurable device information will not be allowed.
|
void |
setEnabled(TransportType transportType,
ApplicationType applicationType,
boolean enable)
Sets whether enable/disable that type of application on transport
|
public boolean isChanged()
public boolean isConfigLocked()
public int getSerial()
public Version getFirmwareVersion()
public FormFactor getFormFactor()
public boolean getSupported(TransportType transportType, ApplicationType applicationType)
transportType - transport type TransportTypeapplicationType - application types ApplicationTypepublic boolean getEnabled(TransportType transportType, ApplicationType applicationType)
transportType - transport type TransportTypeapplicationType - application types ApplicationTypepublic void setEnabled(TransportType transportType, ApplicationType applicationType, boolean enable)
transportType - transport type TransportTypeapplicationType - application types ApplicationType