AuthenticatorAttestationResponse

public class AuthenticatorAttestationResponse extends AuthenticatorResponse

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

See Information About Public Key Credential

Inherited Constant Summary

Public Method Summary

static AuthenticatorAttestationResponse
deserializeFromBytes(byte[] serializedBytes)
De-serializes the AuthenticatorAttestationResponse from bytes, reversing serializeToBytes().
boolean
byte[]
byte[]
byte[]
getKeyHandle()
This method is deprecated. use PublicKeyCredential.getRawId() instead
String[]
int
byte[]
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static AuthenticatorAttestationResponse deserializeFromBytes (byte[] serializedBytes)

De-serializes the AuthenticatorAttestationResponse from bytes, reversing serializeToBytes().

Returns

public boolean equals (Object obj)

public byte[] getAttestationObject ()

public byte[] getClientDataJSON ()

public byte[] getKeyHandle ()

This method is deprecated.
use PublicKeyCredential.getRawId() instead

public String[] getTransports ()

public int hashCode ()

public byte[] serializeToBytes ()

Serializes the AuthenticatorAttestationResponse to bytes. Use deserializeFromBytes(byte[]) to deserialize.

Returns
  • the serialized byte array.

public String toString ()

public void writeToParcel (Parcel dest, int flags)