Class RegistrationResult
RelyingParty.finishRegistration(FinishRegistrationOptions)
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
@NonNull ByteArray
Theaaguid
reported in the of the created credential.@NonNull AttestationType
The attestation type §6.4.3.The authenticator extension outputs, if any.The client extension outputs, if any.@NonNull PublicKeyCredentialDescriptor
getKeyId()
The credential ID and transports of the created credential.@NonNull ByteArray
The public key of the created credential.long
The signature count returned with the created credential.int
hashCode()
boolean
true
if 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 thecredProps
extension.com.yubico.webauthn.RegistrationResult.RegistrationResultBuilder
toString()
-
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 thecredProps
extension.- Returns:
- A present
true
if the created credential is discoverable. A presentfalse
if 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
Theaaguid
reported in the of the created credential.This MAY be an AAGUID consisting of only zeroes.
-
isAttestationTrusted
public boolean isAttestationTrusted()true
if and only if the attestation signature was successfully linked to a trusted attestation root.This will always be
false
unless theattestationTrustSource
setting was configured on theRelyingParty
instance.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
-