Returns the algorithms to offer, as JOSE names, keeping only those the
verifier can check.
A name it cannot verify is dropped with a warning; when nothing usable
is left it falls back to ES256 and RS256. A lane (#643) narrows the
list while webauthn.pqcAlongsideClassical is on: classical to the
names that are not ML-DSA (ES256 and RS256 where that leaves none),
pqc to ML-DSA (all three where the list names none). With the switch
off a lane changes nothing. classicalOnly (#944) asks for the
classical retry's list instead (classicalRetryAlgorithms()), and is
ignored where the realm forbids that retry.
Parameters
Optionallane: string
classical or pqc, or nothing for the configured list
Returns the algorithms to offer, as JOSE names, keeping only those the verifier can check.
A name it cannot verify is dropped with a warning; when nothing usable is left it falls back to ES256 and RS256. A
lane(#643) narrows the list whilewebauthn.pqcAlongsideClassicalis on:classicalto the names that are not ML-DSA (ES256 and RS256 where that leaves none),pqcto ML-DSA (all three where the list names none). With the switch off a lane changes nothing.classicalOnly(#944) asks for the classical retry's list instead (classicalRetryAlgorithms()), and is ignored where the realm forbids that retry.