Class WebAuthnRegistration

java.lang.Object
com.revetsec.webauthn.WebAuthnRegistration

@Immutable public final class WebAuthnRegistration extends Object
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 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

      public byte @NonNull [] getUserHandle()
      Returns the authoritative account handle.
      Returns:
      defensive handle copy
      Since:
      1.0.0
    • getCredentialId

      public byte @NonNull [] 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 always true.
      Returns:
      registration user-verification fact
      Since:
      1.0.0
    • toString

      Redacts account and credential identifiers.
      Overrides:
      toString in class Object
      Returns:
      a fixed description
      Since:
      1.0.0