Class WebAuthnRegistration
java.lang.Object
com.revetsec.webauthn.WebAuthnRegistration
Engine-created proof of a committed credential enrollment for an app-approved account.
This does not create an application session.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the display-only authenticator model identifier when the client supplied a nonzero value.byte @NonNull []Returns the newly registered credential ID.Returns the configured namespace.Returns the configured RP ID.byte @NonNull []Returns the authoritative account handle.Returns whether the credential was backed up when registered.Returns whether the credential is eligible for backup.Returns whether user verification was observed when this credential was registered.toString()Redacts account and credential identifiers.
-
Method Details
-
getCredentialNamespace
Returns the configured namespace.- Returns:
- namespace
- Since:
- 1.0.0
-
getRelyingPartyId
Returns the configured RP ID.- Returns:
- relying-party ID
- Since:
- 1.0.0
-
getUserHandle
Returns the authoritative account handle.- Returns:
- defensive handle copy
- Since:
- 1.0.0
-
getCredentialId
Returns the newly registered credential ID.- Returns:
- defensive ID copy
- Since:
- 1.0.0
-
getAaguid
Returns the display-only authenticator model identifier when the client supplied a nonzero value. Under none attestation this value is not authenticated and must not drive authorization or policy.- Returns:
- authenticator model identifier, or empty for the zero AAGUID
- Since:
- 1.0.0
-
isBackupEligible
Returns whether the credential is eligible for backup.- Returns:
- backup eligibility
- Since:
- 1.0.0
-
isBackedUp
Returns whether the credential was backed up when registered.- Returns:
- backup state at registration
- Since:
- 1.0.0
-
isUserVerifiedAtRegistration
Returns whether user verification was observed when this credential was registered. This release requires user verification for every registration, so the value is alwaystrue.- Returns:
- registration user-verification fact
- Since:
- 1.0.0
-
toString
-