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 Constructor Summary

PublicKeyCredentialCreationOptions(String jsonString)
Builds an instance of PublicKeyCredentialCreationOptions from a JSON string.

Public Method Summary

static PublicKeyCredentialCreationOptions
deserializeFromBytes(byte[] serializedBytes)
De-serializes the PublicKeyCredentialCreationOptions from bytes, reversing serializeToBytes().
boolean
AttestationConveyancePreference
String
AuthenticationExtensions
AuthenticatorSelectionCriteria
byte[]
List<PublicKeyCredentialDescriptor>
String
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 Constructors

public PublicKeyCredentialCreationOptions (String jsonString)

Builds an instance of PublicKeyCredentialCreationOptions from a JSON string.

Public Methods

public static PublicKeyCredentialCreationOptions deserializeFromBytes (byte[] serializedBytes)

De-serializes the PublicKeyCredentialCreationOptions from bytes, reversing serializeToBytes().

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 String getJsonString ()

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.

Returns
  • the serialized byte array.

public void writeToParcel (Parcel dest, int flags)