public final class RegistrationResult
extends java.lang.Object
RelyingParty.finishRegistration(FinishRegistrationOptions).| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
@NonNull java.util.Optional<Attestation> |
getAttestationMetadata()
Additional information about the authenticator, identified based on the attestation certificate.
|
@NonNull AttestationType |
getAttestationType()
The attestation type §6.4.3.
|
@NonNull PublicKeyCredentialDescriptor |
getKeyId()
The credential ID of the created
credential.
|
@NonNull ByteArray |
getPublicKeyCose()
The public key of the created credential.
|
@NonNull java.util.List<java.lang.String> |
getWarnings()
Zero or more human-readable messages about non-critical issues.
|
int |
hashCode() |
boolean |
isAttestationTrusted()
true if and only if the attestation signature was successfully linked to a trusted attestation
root. |
com.yubico.webauthn.RegistrationResult.RegistrationResultBuilder |
toBuilder() |
java.lang.String |
toString() |
public com.yubico.webauthn.RegistrationResult.RegistrationResultBuilder toBuilder()
@NonNull public @NonNull PublicKeyCredentialDescriptor getKeyId()
PublicKeyCredential.getId()public boolean isAttestationTrusted()
true if and only if the attestation signature was successfully linked to a trusted attestation
root.
You can ignore this if authenticator attestation is not relevant to your application.
@NonNull public @NonNull AttestationType getAttestationType()
You can ignore this if authenticator attestation is not relevant to your application.
@NonNull public @NonNull ByteArray getPublicKeyCose()
This is used in RelyingParty.finishAssertion(FinishAssertionOptions) to verify the authentication
signatures.
RegisteredCredential.getPublicKeyCose()@NonNull public @NonNull java.util.List<java.lang.String> getWarnings()
@NonNull public @NonNull java.util.Optional<Attestation> getAttestationMetadata()
This will be absent unless you set a metadataService in RelyingParty.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object