AI-generated Key Takeaways
-
AuthenticatorErrorResponse
is a class representing an error response during FIDO2 authentication. -
It provides methods to access error details like error code and message.
-
It can be serialized to and deserialized from byte arrays for transmission.
-
It inherits from
AuthenticatorResponse
and implementsParcelable
for data exchange.
The response after an error occurred.
Inherited Constant Summary
Public Method Summary
static AuthenticatorErrorResponse |
deserializeFromBytes(byte[] serializedBytes)
De-serializes the
AuthenticatorErrorResponse from bytes, reversing
serializeToBytes() .
|
boolean | |
byte[] | |
ErrorCode | |
int | |
String | |
int |
hashCode()
|
byte[] |
serializeToBytes()
Serializes the
AuthenticatorErrorResponse to bytes.
|
String |
toString()
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Public Methods
public static AuthenticatorErrorResponse deserializeFromBytes (byte[] serializedBytes)
De-serializes the
AuthenticatorErrorResponse
from bytes, reversing
serializeToBytes()
.
Returns
- The deserialized
AuthenticatorErrorResponse
.
public boolean equals (Object obj)
public byte[] getClientDataJSON ()
public ErrorCode getErrorCode ()
public int getErrorCodeAsInt ()
public String getErrorMessage ()
public int hashCode ()
public byte[] serializeToBytes ()
Serializes the
AuthenticatorErrorResponse
to bytes. Use
deserializeFromBytes(byte[])
to deserialize.
Returns
- the serialized byte array.