AI-generated Key Takeaways
-
AuthenticatorAssertionResponse contains cryptographic signatures for proof of possession and user consent.
-
This class is used to deserialize from and serialize to bytes using
deserializeFromBytesandserializeToBytesmethods respectively. -
Several methods are available to retrieve data such as
getAuthenticatorData,getClientDataJSON,getSignature, andgetUserHandle. -
The
getKeyHandlemethods are deprecated and should be replaced withPublicKeyCredential.getRawId().
This structure contains cryptographic signatures produced by scoped credentials that provides proof of possession of a private key as well as evidence of user consent to a specific transaction.
Inherited Constant Summary
Public Method Summary
| static AuthenticatorAssertionResponse |
deserializeFromBytes(byte[] serializedBytes)
De-serializes the
AuthenticatorAssertionResponse from bytes, reversing
serializeToBytes().
|
| boolean | |
| byte[] | |
| ByteString | |
| byte[] | |
| ByteString | |
| byte[] |
getKeyHandle()
This method is deprecated. use
PublicKeyCredential.getRawId() instead
|
| ByteString |
getKeyHandleAsByteString()
This method is deprecated. use
PublicKeyCredential.getRawId() instead
|
| byte[] | |
| ByteString | |
| byte[] | |
| ByteString | |
| int |
hashCode()
|
| byte[] |
serializeToBytes()
Serializes the
AuthenticatorAssertionResponse to bytes.
|
| String |
toString()
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Public Methods
public static AuthenticatorAssertionResponse deserializeFromBytes (byte[] serializedBytes)
De-serializes the
AuthenticatorAssertionResponse from bytes, reversing
serializeToBytes().
Returns
- The deserialized
AuthenticatorAssertionResponse.
public boolean equals (Object obj)
public byte[] getAuthenticatorData ()
public ByteString getAuthenticatorDataAsByteString ()
public byte[] getClientDataJSON ()
public ByteString getClientDataJSONAsByteString ()
public byte[] getKeyHandle ()
This method is deprecated.
use
PublicKeyCredential.getRawId() instead
public ByteString getKeyHandleAsByteString ()
This method is deprecated.
use
PublicKeyCredential.getRawId() instead
public byte[] getSignature ()
public ByteString getSignatureAsByteString ()
public byte[] getUserHandle ()
public ByteString getUserHandleAsByteString ()
public int hashCode ()
public byte[] serializeToBytes ()
Serializes the
AuthenticatorAssertionResponse to bytes. Use
deserializeFromBytes(byte[]) to deserialize.
Returns
- the serialized byte array.