Class AuthenticatorDataFlags

java.lang.Object
com.yubico.webauthn.data.AuthenticatorDataFlags

public final class AuthenticatorDataFlags extends Object
The flags bit field of an authenticator data structure, decoded as a high-level object.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final boolean
    Attested credential data present.
    final boolean
    Deprecated.
    EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.
    final boolean
    Deprecated.
    EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.
    final boolean
    Extension data present.
    final boolean
    User present
    final boolean
    User verified
    final byte
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Decode an AuthenticatorDataFlags object from a raw bit field byte.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • value

      public final byte value
    • UP

      public final boolean UP
      User present
    • UV

      public final boolean UV
      User verified
    • BE

      @Deprecated public final boolean BE
      Deprecated.
      EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.
      Backup eligible: the credential can and is allowed to be backed up.

      NOTE that this is only a hint and not a guarantee, unless backed by a trusted authenticator attestation.

      See Also:
    • BS

      @Deprecated public final boolean BS
      Deprecated.
      EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.
      Backup status: the credential is currently backed up.

      NOTE that this is only a hint and not a guarantee, unless backed by a trusted authenticator attestation.

      See Also:
    • AT

      public final boolean AT
      Attested credential data present.

      Users of this library should not need to inspect this value directly.

      See Also:
    • ED

      public final boolean ED
      Extension data present.
      See Also:
  • Constructor Details

    • AuthenticatorDataFlags

      public AuthenticatorDataFlags(byte value)
      Decode an AuthenticatorDataFlags object from a raw bit field byte.
  • Method Details