PublicKeyCredentialCreationOptions

public class PublicKeyCredentialCreationOptions extends RequestOptions

This class is used to supply options when creating a new credential.

Nested Class Summary

class PublicKeyCredentialCreationOptions.Builder Builder for PublicKeyCredentialCreationOptions

Inherited Constant Summary

Public Method Summary

static PublicKeyCredentialCreationOptions
deserializeFromBytes(byte[] serializedBytes)
De-serializes the PublicKeyCredentialCreationOptions from bytes, reversing serializeToBytes().
boolean
AttestationConveyancePreference
String
AuthenticationExtensions
AuthenticatorSelectionCriteria
byte[]
List<PublicKeyCredentialDescriptor>
List<PublicKeyCredentialParameters>
Integer
PublicKeyCredentialRpEntity
Double
TokenBinding
PublicKeyCredentialUserEntity
int
byte[]
serializeToBytes()
Serializes the PublicKeyCredentialCreationOptions to bytes.
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static PublicKeyCredentialCreationOptions deserializeFromBytes (byte[] serializedBytes)

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

Returns
  • The deserialized PublicKeyCredentialCreationOptions.

public boolean equals (Object obj)

public AttestationConveyancePreference getAttestationConveyancePreference ()

public String getAttestationConveyancePreferenceAsString ()

public AuthenticationExtensions getAuthenticationExtensions ()

public AuthenticatorSelectionCriteria getAuthenticatorSelection ()

public byte[] getChallenge ()

public List<PublicKeyCredentialDescriptor> getExcludeList ()

public List<PublicKeyCredentialParameters> getParameters ()

public Integer getRequestId ()

public Double getTimeoutSeconds ()

public TokenBinding getTokenBinding ()

public int hashCode ()

public byte[] serializeToBytes ()

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

Returns
  • the serialized byte array.

public void writeToParcel (Parcel dest, int flags)