AI-generated Key Takeaways
-
BrowserPublicKeyCredentialCreationOptions
provides parameters for creating public key credentials in a web browser. -
It inherits from
BrowserRequestOptions
and includes fields like challenge, origin, and timeout. -
This class can be serialized to and deserialized from byte arrays for data transmission.
-
It enables the use of authentication extensions and token binding for enhanced security.
-
Developers can use the builder pattern via
BrowserPublicKeyCredentialCreationOptions.Builder
to create instances of this class.
Parameters to a make credential request from a Web browser.
Nested Class Summary
class | BrowserPublicKeyCredentialCreationOptions.Builder | Builder for
BrowserPublicKeyCredentialCreationOptions . |
Inherited Constant Summary
Public Method Summary
static BrowserPublicKeyCredentialCreationOptions |
deserializeFromBytes(byte[] serializedBytes)
De-serializes the
BrowserPublicKeyCredentialCreationOptions from bytes, reversing
serializeToBytes() .
|
boolean | |
AuthenticationExtensions | |
byte[] | |
byte[] |
getClientDataHash()
Gets value of the client data hash.
|
Uri | |
PublicKeyCredentialCreationOptions | |
Integer | |
Double | |
TokenBinding | |
int |
hashCode()
|
byte[] |
serializeToBytes()
Serializes the
BrowserPublicKeyCredentialCreationOptions to bytes.
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Public Methods
public static BrowserPublicKeyCredentialCreationOptions deserializeFromBytes (byte[] serializedBytes)
De-serializes the
BrowserPublicKeyCredentialCreationOptions
from bytes, reversing
serializeToBytes()
.
Returns
- The deserialized
BrowserPublicKeyCredentialCreationOptions
.
public boolean equals (Object obj)
public AuthenticationExtensions getAuthenticationExtensions ()
public byte[] getChallenge ()
public byte[] getClientDataHash ()
Gets value of the client data hash.
public Uri getOrigin ()
public PublicKeyCredentialCreationOptions getPublicKeyCredentialCreationOptions ()
public Integer getRequestId ()
public Double getTimeoutSeconds ()
public TokenBinding getTokenBinding ()
public int hashCode ()
public byte[] serializeToBytes ()
Serializes the
BrowserPublicKeyCredentialCreationOptions
to bytes. Use
deserializeFromBytes(byte[])
to deserialize.
Returns
- the serialized byte array.