PublicKeyCredentialParameters

  • PublicKeyCredentialParameters is a class used to supply additional parameters when creating a new credential.

  • This class extends Object and implements the Parcelable interface.

  • It has a public constructor that takes a String type and an integer algorithm.

  • Key methods include getAlgorithm, getType, equals, and writeToParcel.

public class PublicKeyCredentialParameters extends Object
implements Parcelable

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

Public Constructor Summary

Public Method Summary

boolean
COSEAlgorithmIdentifier
int
PublicKeyCredentialType
String
int
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Constructors

public PublicKeyCredentialParameters (String type, int algorithm)

Public Methods

public boolean equals (Object obj)

public COSEAlgorithmIdentifier getAlgorithm ()

public int getAlgorithmIdAsInteger ()

public PublicKeyCredentialType getType ()

public String getTypeAsString ()

public int hashCode ()

public void writeToParcel (Parcel dest, int flags)