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(Parceldest, int
flags)
|
Inherited Method Summary
Public Methods
public static FidoCredentialDetailsdeserializeFromBytes(byte[] serializedBytes)
De-serializes the
FidoCredentialDetails
from bytes, reversing
serializeToBytes()
.
Returns
- The deserialized
FidoCredentialDetails
.
public booleanequals(Objectobj)
public byte[]getCredentialId()
Returns the credential's credential ID.
public ByteStringgetCredentialIdAsByteString()
Returns the credential's credential ID.
public booleangetIsDiscoverable()
Returns true if the credential is discoverable.
public booleangetIsPaymentCredential()
Returns true if the credential is for payments.
public longgetLastUsedTime()
Returns the last used time in Unix Epoch Millis.
publicStringgetUserDisplayName()
Returns the credential's user display name.
public byte[]getUserId()
Returns the credential's user ID.
public ByteStringgetUserIdAsByteString()
Returns the credential's user ID.
publicStringgetUserName()
Returns the credential's user name.
public inthashCode()
public byte[]serializeToBytes()
Serializes the
FidoCredentialDetails
to bytes. Use
deserializeFromBytes(byte[])
to deserialize.
Returns
- the serialized byte array.