Contains the attributes of a single FIDO credential that are returned to the caller in
response to a
Fido2PrivilegedApiClient.getCredentialList(String)
call.
Inherited Constant Summary
Public Method Summary
static FidoCredentialDetails |
deserializeFromBytes(byte[] serializedBytes)
De-serializes the
FidoCredentialDetails from bytes, reversing
serializeToBytes() .
|
boolean | |
byte[] |
getCredentialId()
Returns the credential's credential ID.
|
ByteString |
getCredentialIdAsByteString()
Returns the credential's credential ID.
|
boolean |
getIsDiscoverable()
Returns true if the credential is discoverable.
|
boolean |
getIsPaymentCredential()
Returns true if the credential is for payments.
|
long |
getLastUsedTime()
Returns the last used time in Unix Epoch Millis.
|
String |
getUserDisplayName()
Returns the credential's user display name.
|
byte[] |
getUserId()
Returns the credential's user ID.
|
ByteString |
getUserIdAsByteString()
Returns the credential's user ID.
|
String |
getUserName()
Returns the credential's user name.
|
int |
hashCode()
|
byte[] |
serializeToBytes()
Serializes the
FidoCredentialDetails to bytes.
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Public Methods
public static FidoCredentialDetails deserializeFromBytes (byte[] serializedBytes)
De-serializes the
FidoCredentialDetails
from bytes, reversing
serializeToBytes()
.
Returns
- The deserialized
FidoCredentialDetails
.
public boolean equals (Object obj)
public byte[] getCredentialId ()
Returns the credential's credential ID.
public ByteString getCredentialIdAsByteString ()
Returns the credential's credential ID.
public boolean getIsDiscoverable ()
Returns true if the credential is discoverable.
public boolean getIsPaymentCredential ()
Returns true if the credential is for payments.
public long getLastUsedTime ()
Returns the last used time in Unix Epoch Millis.
public String getUserDisplayName ()
Returns the credential's user display name.
public byte[] getUserId ()
Returns the credential's user ID.
public ByteString getUserIdAsByteString ()
Returns the credential's user ID.
public String getUserName ()
Returns the credential's user name.
public int hashCode ()
public byte[] serializeToBytes ()
Serializes the
FidoCredentialDetails
to bytes. Use
deserializeFromBytes(byte[])
to deserialize.
Returns
- the serialized byte array.