public classAuthenticatorAttestationResponseextendsAuthenticatorResponse
Represents a newly-created scoped credential, aka the response from a registration request.
Inherited Constant Summary
Public Method Summary
static AuthenticatorAttestationResponse |
deserializeFromBytes(byte[] serializedBytes)
De-serializes the
AuthenticatorAttestationResponse from bytes, reversing
serializeToBytes() .
|
boolean | |
byte[] | |
ByteString | |
byte[] | |
ByteString | |
byte[] |
getKeyHandle()
This method is deprecated. use
PublicKeyCredential.getRawId() instead
|
ByteString | |
String[] | |
int |
hashCode()
|
byte[] |
serializeToBytes()
Serializes the
AuthenticatorAttestationResponse to bytes.
|
String |
toString()
|
void |
writeToParcel(Parceldest, int
flags)
|
Inherited Method Summary
Public Methods
public static AuthenticatorAttestationResponsedeserializeFromBytes(byte[] serializedBytes)
De-serializes the
AuthenticatorAttestationResponse
from bytes, reversing
serializeToBytes()
.
Returns
- The deserialized
AuthenticatorAttestationResponse
.
public booleanequals(Objectobj)
public byte[]getAttestationObject()
public ByteStringgetAttestationObjectAsByteString()
public byte[]getClientDataJSON()
public ByteStringgetClientDataJSONAsByteString()
public byte[]getKeyHandle()
This method is deprecated.
use
PublicKeyCredential.getRawId()
instead
public ByteStringgetKeyHandleAsByteString()
publicString[]getTransports()
public inthashCode()
public byte[]serializeToBytes()
Serializes the
AuthenticatorAttestationResponse
to bytes. Use
deserializeFromBytes(byte[])
to deserialize.
Returns
- the serialized byte array.