Class ValidateAuthenticatorAttestationResponse

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class ValidateAuthenticatorAttestationResponse extends AbstractWebAuthnAction<WebAuthnRegistrationContext>
Validate the public key registration attempt by delegating the created public key credential to the WebAuthn client. If valid, store the registration result inside the registration context.
Event:
{WebAuthnRegistrationEventIds#INVALID_REGISTRATION}
Precondition:
ProfileRequestContext.getSubcontext(WebAuthnRegistrationContext.class) != null
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • pkCredCreationOptions

      @NonnullBeforeExec private com.yubico.webauthn.data.PublicKeyCredentialCreationOptions pkCredCreationOptions
      The stashed public key credential creation options used to create a new credential.
    • attestation

      @NonnullBeforeExec private com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAttestationResponse,com.yubico.webauthn.data.ClientRegistrationExtensionOutputs> attestation
      The stashed public key credential authenticator attestation response.
  • Constructor Details

    • ValidateAuthenticatorAttestationResponse

      public ValidateAuthenticatorAttestationResponse()
      Constructor.
  • Method Details