public final class PublicKeyCredentialDescriptor extends java.lang.Object implements java.lang.Comparable<PublicKeyCredentialDescriptor>
navigator.credentials.create()
or navigator.credentials.get()
methods. It mirrors the
fields of the PublicKeyCredential
object returned by the latter methods.Modifier and Type | Class and Description |
---|---|
static class |
PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder |
Modifier and Type | Method and Description |
---|---|
static PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder.MandatoryStages |
builder() |
int |
compareTo(PublicKeyCredentialDescriptor other) |
boolean |
equals(java.lang.Object o) |
@NonNull ByteArray |
getId()
The credential ID of the public key credential the caller is referring to.
|
@NonNull java.util.Optional<java.util.Set<AuthenticatorTransport>> |
getTransports()
An OPTIONAL hint as to how the client might communicate with the managing authenticator of the public key
credential the caller is referring to.
|
@NonNull PublicKeyCredentialType |
getType()
The type of the credential the caller is referring to.
|
int |
hashCode() |
PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder |
toBuilder() |
java.lang.String |
toString() |
public int compareTo(PublicKeyCredentialDescriptor other)
compareTo
in interface java.lang.Comparable<PublicKeyCredentialDescriptor>
public static PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder.MandatoryStages builder()
public PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder toBuilder()
@NonNull public @NonNull PublicKeyCredentialType getType()
@NonNull public @NonNull ByteArray getId()
@NonNull public @NonNull java.util.Optional<java.util.Set<AuthenticatorTransport>> getTransports()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object