Enum Class AttachmentHint
- All Implemented Interfaces:
Serializable
,Comparable<AttachmentHint>
,Constable
These flags are not a mandatory part of authenticator metadata and, when present, only indicate possible states that may be reported during authenticator discovery.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis flag MAY be set to indicate that an external authenticator is able to communicate using Bluetooth with the FIDO User Device.This flag MAY be set to indicate, for a hardware-based authenticator, that it is removable or remote from the FIDO User Device.This flag MAY be set to indicate that the authenticator is permanently attached to the FIDO User Device.This flag MAY be set to indicate that the authenticator is connected to the FIDO User Device over a non-exclusive network (e.g.This flag MAY be set to indicate that an external authenticator is able to communicate by NFC to the FIDO User Device.This flag MAY be set to indicate that an external authenticator is in a "ready" state.This flag MAY be set to indicate that an external authenticator is able to communicate using WiFi Direct with the FIDO User Device.This flag MAY be set to indicate that an external authenticator currently has an exclusive wired connection, e.g.This flag MAY be set to indicate that an external authenticator communicates with the FIDO User Device through a personal area or otherwise non-routed wireless protocol, such as Bluetooth or NFC. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttachmentHint
Returns the enum constant of this class with the specified name.static AttachmentHint[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATTACHMENT_HINT_INTERNAL
This flag MAY be set to indicate that the authenticator is permanently attached to the FIDO User Device.A device such as a smartphone may have authenticator functionality that is able to be used both locally and remotely. In such a case, the FIDO client MUST filter and exclusively report only the relevant bit during Discovery and when performing policy matching.
This flag cannot be combined with any other
AttachmentHint
flags. -
ATTACHMENT_HINT_EXTERNAL
This flag MAY be set to indicate, for a hardware-based authenticator, that it is removable or remote from the FIDO User Device.A device such as a smartphone may have authenticator functionality that is able to be used both locally and remotely. In such a case, the FIDO UAF Client MUST filter and exclusively report only the relevant bit during discovery and when performing policy matching. This flag MUST be combined with one or more other
AttachmentHint
flag(s). -
ATTACHMENT_HINT_WIRED
This flag MAY be set to indicate that an external authenticator currently has an exclusive wired connection, e.g. through USB, Firewire or similar, to the FIDO User Device. -
ATTACHMENT_HINT_WIRELESS
This flag MAY be set to indicate that an external authenticator communicates with the FIDO User Device through a personal area or otherwise non-routed wireless protocol, such as Bluetooth or NFC. -
ATTACHMENT_HINT_NFC
This flag MAY be set to indicate that an external authenticator is able to communicate by NFC to the FIDO User Device. As part of authenticator metadata, or when reporting characteristics through discovery, if this flag is set, theATTACHMENT_HINT_WIRELESS
flag SHOULD also be set as well. -
ATTACHMENT_HINT_BLUETOOTH
This flag MAY be set to indicate that an external authenticator is able to communicate using Bluetooth with the FIDO User Device. As part of authenticator metadata, or when reporting characteristics through discovery, if this flag is set, theATTACHMENT_HINT_WIRELESS
flag SHOULD also be set. -
ATTACHMENT_HINT_NETWORK
This flag MAY be set to indicate that the authenticator is connected to the FIDO User Device over a non-exclusive network (e.g. over a TCP/IP LAN or WAN, as opposed to a PAN or point-to-point connection). -
ATTACHMENT_HINT_READY
This flag MAY be set to indicate that an external authenticator is in a "ready" state. This flag is set by the ASM at its discretion. -
ATTACHMENT_HINT_WIFI_DIRECT
This flag MAY be set to indicate that an external authenticator is able to communicate using WiFi Direct with the FIDO User Device. As part of authenticator metadata and when reporting characteristics through discovery, if this flag is set, theATTACHMENT_HINT_WIRELESS
flag SHOULD also be set.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-