AI-generated Key Takeaways
-
BrowserPublicKeyCredentialRequestOptions contains parameters for a signature request from a Web Browser.
-
This class includes a nested Builder class for creating instances.
-
It provides methods for serializing and deserializing the options to and from bytes.
-
Key information like challenge, client data hash, origin, and timeout can be retrieved through public methods.
-
The class also includes methods for getting authentication extensions, request ID, and token binding information.
Parameters for a signature request from a Web Browser.
Nested Class Summary
| class | BrowserPublicKeyCredentialRequestOptions.Builder | Builder for
BrowserPublicKeyCredentialRequestOptions. |
|
Inherited Constant Summary
Public Method Summary
| static BrowserPublicKeyCredentialRequestOptions |
deserializeFromBytes(byte[] serializedBytes)
De-serializes the
BrowserPublicKeyCredentialRequestOptions from bytes, reversing
serializeToBytes().
|
| boolean | |
| AuthenticationExtensions | |
| byte[] | |
| byte[] |
getClientDataHash()
Gets value of the client data hash.
|
| Uri | |
| PublicKeyCredentialRequestOptions | |
| Integer | |
| Double | |
| TokenBinding | |
| int |
hashCode()
|
| byte[] |
serializeToBytes()
Serializes the
BrowserPublicKeyCredentialRequestOptions to bytes.
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Public Methods
public static BrowserPublicKeyCredentialRequestOptions deserializeFromBytes (byte[] serializedBytes)
De-serializes the
BrowserPublicKeyCredentialRequestOptions from bytes, reversing
serializeToBytes().
Returns
- The deserialized
BrowserPublicKeyCredentialRequestOptions.
public boolean equals (Object o)
public AuthenticationExtensions getAuthenticationExtensions ()
public byte[] getChallenge ()
public byte[] getClientDataHash ()
Gets value of the client data hash.
public Uri getOrigin ()
public PublicKeyCredentialRequestOptions getPublicKeyCredentialRequestOptions ()
public Integer getRequestId ()
public Double getTimeoutSeconds ()
public TokenBinding getTokenBinding ()
public int hashCode ()
public byte[] serializeToBytes ()
Serializes the
BrowserPublicKeyCredentialRequestOptions to bytes. Use
deserializeFromBytes(byte[]) to deserialize.
Returns
- the serialized byte array.