Package com.yubico.yubikit.management
Class DeviceInfo
java.lang.Object
com.yubico.yubikit.management.DeviceInfo
Contains metadata, including Device Configuration, of a YubiKey.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the current Device configuration of the YubiKey.intReturns FIPS approved flagsintReturns FIPS capable flagsReturns the form factor of the YubiKey.@Nullable com.yubico.yubikit.core.VersionReturns FPS version@Nullable StringReturns part numberbooleanReturns value of PIN complexityintReturns reset blocked flags@Nullable IntegerReturns the serial number of the YubiKey, if available.@Nullable com.yubico.yubikit.core.VersionReturns STM versionintgetSupportedCapabilities(com.yubico.yubikit.core.Transport transport) Returns the supported (not necessarily enabled) capabilities for a given transport.com.yubico.yubikit.core.VersionReturns the version number of the YubiKey firmware.Returns the version of the YubiKey firmware.Returns version qualifierinthashCode()booleanhasTransport(com.yubico.yubikit.core.Transport transport) Returns whether or not a specific transport is available on this YubiKey.booleanisFips()Returns whether or not this is a FIPS compliant devicebooleanisLocked()Returns whether or not a Configuration Lock is set for the Management application on the YubiKey.booleanisSky()Returns whether or not this is a Security keytoString()
-
Method Details
-
getConfig
Returns the current Device configuration of the YubiKey. -
getSerialNumber
Returns the serial number of the YubiKey, if available.The serial number can be read if the YubiKey has a serial number, and one of the YubiOTP slots is configured with the SERIAL_API_VISIBLE flag.
-
getVersion
public com.yubico.yubikit.core.Version getVersion()Returns the version number of the YubiKey firmware. -
getVersionName
Returns the version of the YubiKey firmware. -
getFormFactor
Returns the form factor of the YubiKey. -
hasTransport
public boolean hasTransport(com.yubico.yubikit.core.Transport transport) Returns whether or not a specific transport is available on this YubiKey. -
getSupportedCapabilities
public int getSupportedCapabilities(com.yubico.yubikit.core.Transport transport) Returns the supported (not necessarily enabled) capabilities for a given transport. -
isLocked
public boolean isLocked()Returns whether or not a Configuration Lock is set for the Management application on the YubiKey. -
isFips
public boolean isFips()Returns whether or not this is a FIPS compliant device -
isSky
public boolean isSky()Returns whether or not this is a Security key -
getPartNumber
Returns part number -
getFipsCapable
public int getFipsCapable()Returns FIPS capable flags -
getFipsApproved
public int getFipsApproved()Returns FIPS approved flags -
getPinComplexity
public boolean getPinComplexity()Returns value of PIN complexity -
getResetBlocked
public int getResetBlocked()Returns reset blocked flags -
getFpsVersion
public @Nullable com.yubico.yubikit.core.Version getFpsVersion()Returns FPS version -
getStmVersion
public @Nullable com.yubico.yubikit.core.Version getStmVersion()Returns STM version -
getVersionQualifier
Returns version qualifier -
equals
-
hashCode
public int hashCode() -
toString
-