Package com.yubico.webauthn.data
Class TokenBindingInfo
- java.lang.Object
-
- com.yubico.webauthn.data.TokenBindingInfo
-
public final class TokenBindingInfo extends java.lang.Object
Information about the state of the Token Binding protocol used when communicating with the Relying Party.- See Also:
- dictionary TokenBinding
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Optional<ByteArray>
getId()
@NonNull TokenBindingStatus
getStatus()
int
hashCode()
static TokenBindingInfo
present(@NonNull ByteArray id)
static TokenBindingInfo
supported()
java.lang.String
toString()
-
-
-
Method Detail
-
present
public static TokenBindingInfo present(@NonNull @NonNull ByteArray id)
-
supported
public static TokenBindingInfo supported()
-
getId
public java.util.Optional<ByteArray> getId()
-
getStatus
@NonNull public @NonNull TokenBindingStatus getStatus()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-