public class

AuthenticatorAttestationResponse

extends AuthenticatorResponse
java.lang.Object
   ↳ com.google.android.gms.fido.fido2.api.common.AuthenticatorResponse
     ↳ com.google.android.gms.fido.fido2.api.common.AuthenticatorAttestationResponse

Class Overview

This represents a newly-created scoped credential, aka the response from a registration request.

Summary

Nested Classes
class AuthenticatorAttestationResponse.Builder Builds AuthenticatorAttestationResponse  
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
AuthenticatorAttestationResponse(byte[] keyHandle, byte[] clientDataJSON, byte[] attestationObject)
Public Methods
static AuthenticatorAttestationResponse deserializeFromBytes(byte[] serializedBytes)
De-serializes the AuthenticatorAttestationResponse from bytes, reversing serializeToBytes().
boolean equals(Object obj)
byte[] getAttestationObject()
byte[] getClientDataJSON()
byte[] getKeyHandle()
int hashCode()
byte[] serializeToBytes()
Serializes the AuthenticatorAttestationResponse to bytes.
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class com.google.android.gms.fido.fido2.api.common.AuthenticatorResponse
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public AuthenticatorAttestationResponse (byte[] keyHandle, byte[] clientDataJSON, byte[] attestationObject)

Parameters
keyHandle byte
clientDataJSON byte
attestationObject byte

Public Methods

public static AuthenticatorAttestationResponse deserializeFromBytes (byte[] serializedBytes)

De-serializes the AuthenticatorAttestationResponse from bytes, reversing serializeToBytes(). See go/gmscore-perf/reflectedparcelable for why we can't rely on Parcelable behaviour.

Parameters
serializedBytes byte: The serialized bytes.
Returns
AuthenticatorAttestationResponse The deserialized AuthenticatorAttestationResponse.

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public byte[] getAttestationObject ()

Returns
byte[]

public byte[] getClientDataJSON ()

Returns
byte[]

public byte[] getKeyHandle ()

Returns
byte[]

public int hashCode ()

Returns
int

public byte[] serializeToBytes ()

Serializes the AuthenticatorAttestationResponse to bytes. Use deserializeFromBytes(byte[]) to deserialize. See go/gmscore-perf/reflectedparcelable for why we can't rely on Parcelable behaviour.

Returns
byte[] the serialized byte array.

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int