Class AuthenticatorDataFlags


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

      Fields 
      Modifier and Type Field Description
      boolean AT
      Attested credential data present.
      boolean BE
      Deprecated.
      EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.
      boolean BS
      Deprecated.
      EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.
      boolean ED
      Extension data present.
      boolean UP
      User present
      boolean UV
      User verified
      byte value  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • 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:
        §6.1. Authenticator Data
      • 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:
        §6.1. Authenticator Data
    • Constructor Detail

      • AuthenticatorDataFlags

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

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object