Package com.yubico.webauthn.data
Class AuthenticatorTransport
java.lang.Object
com.yubico.webauthn.data.AuthenticatorTransport
- All Implemented Interfaces:
- Comparable<AuthenticatorTransport>
public final class AuthenticatorTransport
extends Object
implements Comparable<AuthenticatorTransport>
Authenticators may communicate with Clients using a variety of transports. This enumeration
 defines a hint as to how Clients might communicate with a particular Authenticator in order to
 obtain an assertion for a specific credential. Note that these hints represent the Relying
 Party's best belief as to how an Authenticator may be reached. A Relying Party may obtain a list
 of transports hints from some attestation statement formats or via some out-of-band mechanism; it
 is outside the scope of this specification to define that mechanism.
 
Authenticators may implement various transports for communicating with clients. This enumeration defines hints as to how clients might communicate with a particular authenticator in order to obtain an assertion for a specific credential. Note that these hints represent the WebAuthn Relying Party's best belief as to how an authenticator may be reached. A Relying Party may obtain a list of transports hints from some attestation statement formats or via some out-of-band mechanism; it is outside the scope of the Web Authentication specification to define that mechanism.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final AuthenticatorTransportIndicates the respective authenticator can be contacted over Bluetooth Smart (Bluetooth Low Energy / BLE).static final AuthenticatorTransportDeprecated.EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.static final AuthenticatorTransportIndicates the respective authenticator is contacted using a client device-specific transport.static final AuthenticatorTransportIndicates the respective authenticator can be contacted over Near Field Communication (NFC).static final AuthenticatorTransportIndicates the respective authenticator can be contacted over removable USB.
- 
Method SummaryModifier and TypeMethodDescriptionintcompareTo(AuthenticatorTransport other) boolean@NonNull StringgetId()inthashCode()static AuthenticatorTransporttoString()static AuthenticatorTransportstatic AuthenticatorTransport[]values()
- 
Field Details- 
USBIndicates the respective authenticator can be contacted over removable USB.
- 
NFCIndicates the respective authenticator can be contacted over Near Field Communication (NFC).
- 
BLEIndicates the respective authenticator can be contacted over Bluetooth Smart (Bluetooth Low Energy / BLE).
- 
HYBRIDDeprecated.EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.Indicates the respective authenticator can be contacted using a combination of (often separate) data-transport and proximity mechanisms. This supports, for example, authentication on a desktop computer using a smartphone.
- 
INTERNALIndicates the respective authenticator is contacted using a client device-specific transport. These authenticators are not removable from the client device.
 
- 
- 
Method Details- 
values- Returns:
- An array containing all predefined values of AuthenticatorTransportknown by this implementation.
 
- 
of
- 
valueOf- Returns:
- If nameequals"USB","NFC","BLE","HYBRID"or"INTERNAL", returns the constant by that name.
- Throws:
- IllegalArgumentException- if- nameis anything else.
- See Also:
 
- 
compareTo- Specified by:
- compareToin interface- Comparable<AuthenticatorTransport>
 
- 
getId
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-