This class is contains the attributes that are returned to the caller when a new credential is created, or a new assertion is requested.
Nested Class Summary
class | PublicKeyCredential.Builder | Builder for
PublicKeyCredential . |
Inherited Constant Summary
Public Method Summary
static PublicKeyCredential |
deserializeFromBytes(byte[] serializedBytes)
De-serializes the
PublicKeyCredential from bytes, reversing
serializeToBytes() .
|
boolean | |
String |
getAuthenticatorAttachment()
Returns the authenticator attachment of this credential.
|
AuthenticationExtensionsClientOutputs | |
String |
getId()
|
byte[] |
getRawId()
|
AuthenticatorResponse | |
String |
getType()
|
int |
hashCode()
|
byte[] |
serializeToBytes()
Serializes the
PublicKeyCredential to bytes.
|
String |
toJson()
Returns the JSON representation of the object.
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Public Methods
public static PublicKeyCredential deserializeFromBytes (byte[] serializedBytes)
De-serializes the
PublicKeyCredential
from bytes, reversing
serializeToBytes()
.
Returns
- The deserialized
PublicKeyCredential
.
public boolean equals (Object obj)
public String getAuthenticatorAttachment ()
Returns the authenticator attachment of this credential.
public AuthenticationExtensionsClientOutputs getClientExtensionResults ()
public String getId ()
public byte[] getRawId ()
public AuthenticatorResponse getResponse ()
public String getType ()
public int hashCode ()
public byte[] serializeToBytes ()
Serializes the
PublicKeyCredential
to bytes. Use
deserializeFromBytes(byte[])
to deserialize.
Returns
- the serialized byte array.
public String toJson ()
Returns the JSON representation of the object.