Class RegistrationResult
RelyingParty.finishRegistration(FinishRegistrationOptions).-
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull ByteArrayTheaaguidreported in the of the created credential.@NonNull AttestationTypeThe attestation type §6.4.3.The authenticator extension outputs, if any.The client extension outputs, if any.@NonNull PublicKeyCredentialDescriptorgetKeyId()The credential ID and transports of the created credential.@NonNull ByteArrayThe public key of the created credential.longThe signature count returned with the created credential.inthashCode()booleantrueif and only if the attestation signature was successfully linked to a trusted attestation root.Try to determine whether the created credential is a discoverable credential, using the output from thecredPropsextension.com.yubico.webauthn.RegistrationResult.RegistrationResultBuildertoString()
-
Method Details
-
getAttestationTrustPath
-
getClientExtensionOutputs
The client extension outputs, if any.This is present if and only if at least one extension output is present in the return value.
-
getAuthenticatorExtensionOutputs
The authenticator extension outputs, if any.This is present if and only if at least one extension output is present in the return value.
-
isDiscoverable
Try to determine whether the created credential is a discoverable credential, using the output from thecredPropsextension.- Returns:
- A present
trueif the created credential is discoverable. A presentfalseif the created credential is not discoverable. An empty value if it is not known whether the created credential is discoverable. - See Also:
-
toBuilder
public com.yubico.webauthn.RegistrationResult.RegistrationResultBuilder toBuilder() -
getKeyId
The credential ID and transports of the created credential. -
getAaguid
Theaaguidreported in the of the created credential.This MAY be an AAGUID consisting of only zeroes.
-
isAttestationTrusted
public boolean isAttestationTrusted()trueif and only if the attestation signature was successfully linked to a trusted attestation root.This will always be
falseunless theattestationTrustSourcesetting was configured on theRelyingPartyinstance.You can ignore this if authenticator attestation is not relevant to your application.
-
getAttestationType
The attestation type §6.4.3. Attestation Types that was used for the created credential.You can ignore this if authenticator attestation is not relevant to your application.
- See Also:
-
getPublicKeyCose
The public key of the created credential.This is used in
RelyingParty.finishAssertion(FinishAssertionOptions)to verify the authentication signatures.- See Also:
-
getSignatureCount
public long getSignatureCount()The signature count returned with the created credential.This is used in
RelyingParty.finishAssertion(FinishAssertionOptions)to verify the validity of future signature counter values.- See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-