Package com.yubico.fido.metadata
Class AAID
- java.lang.Object
-
- com.yubico.fido.metadata.AAID
-
public final class AAID extends java.lang.Object
Each UAF authenticator MUST have an AAID to identify UAF enabled authenticator models globally. The AAID MUST uniquely identify a specific authenticator model within the range of all UAF-enabled authenticator models made by all authenticator vendors, where authenticators of a specific model must share identical security characteristics within the model (see Security Considerations).The AAID is a string with format
"V#M"
, where#
is a separatorV
indicates the authenticator Vendor Code. This code consists of 4 hexadecimal digits.M
indicates the authenticator Model Code. This code consists of 4 hexadecimal digits.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getValue()
The underlying string value of this AAID.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AAID
public AAID(java.lang.String value)
Construct anAAID
from its String representation.This is the inverse of
getValue()
.- Parameters:
value
- aString
conforming to the rules specified in theAAID
type.
-
-
Method Detail
-
getValue
public java.lang.String getValue()
The underlying string value of this AAID.The AAID is a string with format
"V#M"
, where#
is a separatorV
indicates the authenticator Vendor Code. This code consists of 4 hexadecimal digits.M
indicates the authenticator Model Code. This code consists of 4 hexadecimal digits.
-
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
-
-