PublicKeyCredential

public class PublicKeyCredential extends Object
implements Parcelable

This class is contains the attributes that are returned to the caller when a new credential is created, or a new assertion is requested.

See WebAuthn PublicKeyCredential interface definition

Nested Class Summary

class PublicKeyCredential.Builder Builder for PublicKeyCredential

Inherited Constant Summary

Public Method Summary

static PublicKeyCredential
deserializeFromBytes(byte[] serializedBytes)
De-serializes the PublicKeyCredential from bytes, reversing serializeToBytes().
boolean
AuthenticationExtensionsClientOutputs
String
byte[]
AuthenticatorResponse
String
int
byte[]
serializeToBytes()
Serializes the PublicKeyCredential to bytes.
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static PublicKeyCredential deserializeFromBytes (byte[] serializedBytes)

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

Returns

public boolean equals (Object obj)

public AuthenticationExtensionsClientOutputs getClientExtensionResults ()

public String getId ()

public byte[] getRawId ()

public AuthenticatorResponse getResponse ()

public String getType ()

public int hashCode ()

public byte[] serializeToBytes ()

Serializes the PublicKeyCredential to bytes. Use deserializeFromBytes(byte[]) to deserialize.

Returns
  • the serialized byte array.

public void writeToParcel (Parcel dest, int flags)