public class FIDO2Registration
extends java.lang.Object
Constructor and Description |
---|
FIDO2Registration(FIDORegistrationDefinition reg) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAAGUID()
return the AAGUID of the registration
|
byte[][] |
getAttestationTrustPath()
Get the trust path used to perform attestation.
|
java.lang.String |
getAttestationType()
Get the type of attestation performed during registration
|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Get the extra attributes of the registration associated when the
registration was established
|
long |
getCounter()
Get the internal authenticator counter.
|
long |
getCreatedDate()
Get the time the registration was registered in milliseconds since epoch
|
java.lang.String |
getCredentialId()
Get the credential ID as returned by the authenticator.
|
java.lang.String |
getCredentialPublicKey()
get the credential public key of the registration.
|
java.lang.String |
getFormat()
Get the attestation format provided during registration
|
java.lang.String |
getFriendlyName()
Get the friendly name, or nickname, of the registration.
|
long |
getLastUsed()
Get the last time this registration was used to perform a successful
authentication in milliseconds since epoch
|
java.lang.String |
getMetadataDescription()
Get the authenticator description from metadata
|
java.lang.String |
getMetadataIcon()
Get the icon attribute from the metadata.
|
java.lang.String |
getRpId()
Get the relying party ID that this registration was registered to.
|
java.util.List<java.lang.String> |
getTransports()
Get the transports of this authenticator if provided
|
java.lang.String |
getUserId()
Get the opaque user ID for this registration.
|
java.lang.String |
getUsername()
Get the Verify Access username for this registration.
|
int |
getVersion()
Get the version of the registration
|
boolean |
isEnabled()
Is this registration enabled
|
java.lang.String |
toString()
Get the registration as a JSON payload.
|
boolean |
wasUserPresent()
Get the value of the user-present bit during registration
|
boolean |
wasUserVerified()
Get the value of the user-verified bit during registration
|
public java.lang.String getCredentialId()
public java.lang.String getUserId()
public java.lang.String getUsername()
public java.lang.String getRpId()
public java.lang.String getFriendlyName()
public java.lang.String getAAGUID()
public java.lang.String getCredentialPublicKey()
public java.lang.String getFormat()
public boolean wasUserPresent()
public boolean wasUserVerified()
public boolean isEnabled()
public long getCounter()
public int getVersion()
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
public long getLastUsed()
public long getCreatedDate()
public java.lang.String getAttestationType()
public byte[][] getAttestationTrustPath()
public java.lang.String toString()
JSON.parse
to get a native objecttoString
in class java.lang.Object
public java.lang.String getMetadataIcon()
public java.lang.String getMetadataDescription()
public java.util.List<java.lang.String> getTransports()