This class is contains the attributes that are returned to the caller when a new credential is created, or a new assertion is requested.
| class | PublicKeyCredential.Builder | Builder for
PublicKeyCredential. |
|
| 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()
Returns the id for the credential.
|
| byte[] |
getRawId()
Returns the rawId for the credential.
|
| ByteString |
getRawIdAsByteString()
Returns the rawId for the credential as a
ByteString.
|
| 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)
|
De-serializes the
PublicKeyCredential from bytes, reversing
serializeToBytes().
PublicKeyCredential.Returns the authenticator attachment of this credential.
Returns the id for the credential.
This method will return null if and only if the response is an instance of
AuthenticatorErrorResponse.
AuthenticatorAttestationResponse and
AuthenticatorAssertionResponse will always return a non-null id.
Returns the rawId for the credential.
This method will return null if and only if the response is an instance of
AuthenticatorErrorResponse.
AuthenticatorAttestationResponse and
AuthenticatorAssertionResponse will always return a non-null rawId.
Returns the rawId for the credential as a ByteString.
This method will return null if and only if the response is an instance of
AuthenticatorErrorResponse.
AuthenticatorAttestationResponse and
AuthenticatorAssertionResponse will always return a non-null rawId.
Serializes the
PublicKeyCredential to bytes. Use
deserializeFromBytes(byte[]) to deserialize.
Returns the JSON representation of the object.