Class AppId
- java.lang.Object
-
- com.yubico.webauthn.extension.appid.AppId
-
public final class AppId extends java.lang.Object
A FIDO AppID verified to be syntactically valid.- See Also:
- FIDO AppID and Facet Specification
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getId()
The underlying string representation of this AppID.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AppId
public AppId(@NonNull @NonNull java.lang.String appId) throws InvalidAppIdException
Verify that theappId
is a valid FIDO AppID, and wrap it as anAppId
.- Throws:
InvalidAppIdException
- ifappId
is not a valid FIDO AppID.- See Also:
- FIDO AppID and Facet Specification
-
-
Method Detail
-
getId
public java.lang.String getId()
The underlying string representation of this AppID.
-
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
-
-