public class FIDORegistration
extends LocalMechanism
Modifier and Type | Method and Description |
---|---|
long |
getCounter()
Getter for the counter of this FIDORegistration.
|
java.util.Date |
getCreatedDate()
Getter for the creation date/time of this EULA.
|
java.util.Date |
getLastUsed()
Getter for the date/time that this registration was last used.
|
java.lang.String |
getMetadataDescription()
Getter for the description of the Metadata associated with this FIDORegistration.
|
java.lang.String |
getMetadataIcon()
Getter for the base64 encoded icon string of the Metadata associated with this FIDORegistration.
|
java.lang.String |
getNickname()
Getter for the user defined nickname of this FIDO Registration.
|
java.lang.String |
getRPId()
Getter for the Relying Party ID of this FIDO Registration.
|
java.lang.String |
getType()
Getter for the type of this FIDORegistration.
|
boolean |
isEnabled()
Getter for the enabled/disabled status of this FIDO Registration.
|
JSONObject |
toJson()
Get a JSON formatted representation of this FIDORegistration.
|
boolean |
wasUserPresent()
Getter for the user present status of this FIDO Registration.
|
boolean |
wasUserVerified()
Getter for the user verified status of this FIDO Registration.
|
public java.lang.String getRPId()
public boolean isEnabled()
public java.lang.String getNickname()
public boolean wasUserVerified()
public boolean wasUserPresent()
public long getCounter()
public java.lang.String getMetadataDescription()
public java.lang.String getMetadataIcon()
public java.lang.String getType()
public java.util.Date getCreatedDate()
public java.util.Date getLastUsed()
public JSONObject toJson()
{ "mechanismURI" : "urn:ibm:security:authentication:asf:mechanism:fido2", "rpId": "example.com", "enabled": true, "nickname": "Example Authenticator", "userVerified": true, "userPresent": true, "counter": 1, "metadata": { "description": "Example Authenticator description", "icon": "data:image/png;base64,iVBORw0KGgoAAAAN....." }, "type": "WebAuthn", "created": "1970-01-01T00:00:00+0000", "lastUsed": "1970-01-01T00:00:00+0000" }