PublicKeyCredentialParameters
This class supplies additional parameters when creating a new credential.
Example usage
PublicKeyCredentialParameters params = new PublicKeyCredentialParameters(
PublicKeyCredentialType.PUBLIC_KEY.toString(),
EC2Algorithm.ES256.toCoseValue());
See
Public Key Credential
Parameters Definition
Inherited Constant Summary
From interface android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface android.os.Parcelable
abstract int |
describeContents()
|
abstract void |
writeToParcel( Parcel arg0,
int arg1)
|
Public Constructors
public PublicKeyCredentialParameters (String
type, int algorithm)
Public Methods
public boolean equals (Object obj)
public int getAlgorithmIdAsInteger ()
public String getTypeAsString ()
public void writeToParcel (Parcel dest, int
flags)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`PublicKeyCredentialParameters` provides extra parameters for creating new credentials, such as the credential type and algorithm."],["It includes methods to get the algorithm and type of the credential, as well as their string and integer representations."],["This class implements `Parcelable`, allowing it to be passed between components and processes."],["Developers can utilize `PublicKeyCredentialParameters` to specify the desired properties of a new public key credential."]]],[]]