Package com.yubico.fido.metadata
Class AAGUID
java.lang.Object
com.yubico.fido.metadata.AAGUID
Some authenticators have an AAGUID, which is a 128-bit identifier that indicates the type (e.g.
make and model) of the authenticator. The AAGUID MUST be chosen by the manufacturer to be
identical across all substantially identical authenticators made by that manufacturer, and
different (with probability 1-2-128 or greater) from the AAGUIDs of all other types of
authenticators.
The AAGUID is represented as a string (e.g. "7a98c250-6808-11cf-b73b-00aa00b677a7") consisting of 5 hex strings separated by a dash ("-"), see [RFC4122].
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasBytes()
The 16-byte binary representation of this AAGUID, for example7a98c250680811cfb73b00aa00b677a7
when hex-encoded.The 36-character string representation of this AAGUID, for example"7a98c250-6808-11cf-b73b-00aa00b677a7"
.The 32-character hexadecimal representation of this AAGUID, for example"7a98c250680811cfb73b00aa00b677a7"
.boolean
int
hashCode()
boolean
isZero()
true
if and only if thisAAGUID
consists of all zeroes.toString()
-
Constructor Details
-
Method Details
-
asBytes
The 16-byte binary representation of this AAGUID, for example7a98c250680811cfb73b00aa00b677a7
when hex-encoded.This is the inverse of
AAGUID(ByteArray)
. -
asHexString
The 32-character hexadecimal representation of this AAGUID, for example"7a98c250680811cfb73b00aa00b677a7"
. -
asGuidString
The 36-character string representation of this AAGUID, for example"7a98c250-6808-11cf-b73b-00aa00b677a7"
. -
isZero
public boolean isZero()true
if and only if thisAAGUID
consists of all zeroes. This typically indicates that an authenticator has no AAGUID, or that the AAGUID has been redacted. -
equals
-
hashCode
public int hashCode() -
toString
-