AI-generated Key Takeaways
-
PublicKeyCredentialParameters is a class used to supply additional parameters when creating a new credential.
-
This class extends
Objectand implements theParcelableinterface. -
It has a public constructor that takes a String type and an integer algorithm.
-
Key methods include
getAlgorithm,getType,equals, andwriteToParcel.
This class supplies additional parameters when creating a new credential.
Example usage
PublicKeyCredentialParameters params = new PublicKeyCredentialParameters(
PublicKeyCredentialType.PUBLIC_KEY.toString(),
EC2Algorithm.ES256.toCoseValue());
Inherited Constant Summary
Public Constructor Summary
|
PublicKeyCredentialParameters(String type, int
algorithm)
|
Public Method Summary
| boolean | |
| COSEAlgorithmIdentifier | |
| int | |
| PublicKeyCredentialType |
getType()
|
| String | |
| int |
hashCode()
|
| void |
writeToParcel(Parcel dest, int
flags)
|