Package com.yubico.webauthn.data
Class PublicKeyCredentialDescriptor
- java.lang.Object
- 
- com.yubico.webauthn.data.PublicKeyCredentialDescriptor
 
- 
- All Implemented Interfaces:
- java.lang.Comparable<PublicKeyCredentialDescriptor>
 
 public final class PublicKeyCredentialDescriptor extends java.lang.Object implements java.lang.Comparable<PublicKeyCredentialDescriptor> The attributes that are specified by a caller when referring to a public key credential as an input parameter to thenavigator.credentials.create()ornavigator.credentials.get()methods. It mirrors the fields of thePublicKeyCredentialobject returned by the latter methods.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder.MandatoryStagesbuilder()intcompareTo(PublicKeyCredentialDescriptor other)booleanequals(java.lang.Object o)@NonNull ByteArraygetId()The credential ID of the public key credential the caller is referring to.java.util.Optional<java.util.SortedSet<AuthenticatorTransport>>getTransports()@NonNull PublicKeyCredentialTypegetType()The type of the credential the caller is referring to.inthashCode()PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuildertoBuilder()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
compareTopublic int compareTo(PublicKeyCredentialDescriptor other) - Specified by:
- compareToin interface- java.lang.Comparable<PublicKeyCredentialDescriptor>
 
 - 
builderpublic static PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder.MandatoryStages builder() 
 - 
getTransportspublic java.util.Optional<java.util.SortedSet<AuthenticatorTransport>> getTransports() 
 - 
toBuilderpublic PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder toBuilder() 
 - 
getType@NonNull public @NonNull PublicKeyCredentialType getType() The type of the credential the caller is referring to.
 - 
getId@NonNull public @NonNull ByteArray getId() The credential ID of the public key credential the caller is referring to.
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-