PublicKeyCredentialRequestOptions | Doclava
public class

PublicKeyCredentialRequestOptions

extends RequestOptions
java.lang.Object
   ↳ com.google.android.gms.fido.fido2.api.common.RequestOptions
     ↳ com.google.android.gms.fido.fido2.api.common.PublicKeyCredentialRequestOptions

Class Overview

This class is used to supply authentication request with the data it needs to generate an assertion.

See also:

Summary

Nested Classes
class PublicKeyCredentialRequestOptions.Builder Builds PublicKeyCredentialRequestOptions
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
PublicKeyCredentialRequestOptions(byte[] challenge, Double timeoutSeconds, String rpId, List<PublicKeyCredentialDescriptor> allowList, Integer requestId, TokenBindingIdValue tokenBindingIdValue, AuthenticationExtensions authenticationExtensions)
Public Methods
static PublicKeyCredentialRequestOptions deserializeFromBytes(byte[] serializedBytes)
Deserializes the PublicKeyCredentialRequestOptions from bytes, reversing serializeToBytes().
boolean equals(Object obj)
List<PublicKeyCredentialDescriptor> getAllowList()
byte[] getChallenge()
Integer getRequestId()
String getRpId()
Double getTimeoutSeconds()
TokenBindingIdValue getTokenBindingIdValue()
int hashCode()
byte[] serializeToBytes()
Serializes the PublicKeyCredentialRequestOptions to bytes.
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class com.google.android.gms.fido.fido2.api.common.RequestOptions
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public PublicKeyCredentialRequestOptions (byte[] challenge, Double timeoutSeconds, String rpId, List<PublicKeyCredentialDescriptor> allowList, Integer requestId, TokenBindingIdValue tokenBindingIdValue, AuthenticationExtensions authenticationExtensions)

Parameters
challenge byte
timeoutSeconds Double
rpId String
allowList List
requestId Integer
tokenBindingIdValue TokenBindingIdValue
authenticationExtensions AuthenticationExtensions

Public Methods

public static PublicKeyCredentialRequestOptions deserializeFromBytes (byte[] serializedBytes)

Deserializes the PublicKeyCredentialRequestOptions from bytes, reversing serializeToBytes(). See go/gmscore-perf/reflectedparcelable for why we can't rely on Parcelable behaviour.

Parameters
serializedBytes byte: The serialized bytes.
Returns
PublicKeyCredentialRequestOptions The deserialized PublicKeyCredentialRequestOptions.

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public List<PublicKeyCredentialDescriptor> getAllowList ()

public byte[] getChallenge ()

Returns
byte[]

public Integer getRequestId ()

Returns
Integer

public String getRpId ()

Returns
String

public Double getTimeoutSeconds ()

Returns
Double

public TokenBindingIdValue getTokenBindingIdValue ()

public int hashCode ()

Returns
int

public byte[] serializeToBytes ()

Serializes the PublicKeyCredentialRequestOptions to bytes. Use deserializeFromBytes(byte[]) to deserialize. See go/gmscore-perf/reflectedparcelable for why we can't rely on Parcelable behaviour.

Returns
byte[] the serialized byte array.

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int