Class GenerateServerChallenge

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

public class GenerateServerChallenge extends AbstractWebAuthnAction<BaseWebAuthnContext>
An action to generate an appropriate server challenge for use in either the PublicKeyCredentialCreationOptions or the PublicKeyCredentialRequestOptions. A challenge must have high entropy such that it can not be guessed, and should therefore be at least 16 bytes long.
Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX
Postcondition:
a challenge is added to the base context