public class PublicKeyCredentialSource
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Class and Description |
|---|---|
static class |
PublicKeyCredentialSource.PublicKeyCredentialSourceBuilder |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<PublicKeyCredentialSource> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
|
PublicKeyCredentialSource(byte[] id,
java.lang.String type,
java.lang.String rpid,
byte[] userHandle,
java.lang.String otherUI) |
protected |
PublicKeyCredentialSource(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
static PublicKeyCredentialSource.PublicKeyCredentialSourceBuilder |
builder() |
int |
describeContents() |
boolean |
equalsUserHandle(PublicKeyCredentialSource source) |
static PublicKeyCredentialSource |
fromJson(org.json.JSONObject jsonObject)
Convert
JSONObject to PublicKeyCredentialSource |
byte[] |
getId() |
java.lang.String |
getOtherUI() |
java.lang.String |
getRpid() |
java.lang.String |
getType() |
byte[] |
getUserHandle() |
PublicKeyCredentialDescriptor |
toDescriptor()
Convert
PublicKeyCredentialSource to PublicKeyCredentialDescriptor |
org.json.JSONObject |
toJson()
Convert
PublicKeyCredentialSource to JSONObject |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<PublicKeyCredentialSource> CREATOR
public PublicKeyCredentialSource(byte[] id,
java.lang.String type,
java.lang.String rpid,
byte[] userHandle,
java.lang.String otherUI)
protected PublicKeyCredentialSource(android.os.Parcel in)
public boolean equalsUserHandle(PublicKeyCredentialSource source)
public org.json.JSONObject toJson()
PublicKeyCredentialSource to JSONObjectpublic PublicKeyCredentialDescriptor toDescriptor()
PublicKeyCredentialSource to PublicKeyCredentialDescriptorPublicKeyCredentialDescriptorpublic static PublicKeyCredentialSource fromJson(org.json.JSONObject jsonObject)
JSONObject to PublicKeyCredentialSourcejsonObject - The json object to be convertedpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic static PublicKeyCredentialSource.PublicKeyCredentialSourceBuilder builder()
public byte[] getId()
public java.lang.String getType()
public java.lang.String getRpid()
public byte[] getUserHandle()
public java.lang.String getOtherUI()