Skip to content

Documents for @litert/jwt / Algorithms/Mldsa / IMldsaValidatorOptions

Interface: IMldsaValidatorOptions ​

Defined in: src/lib/Algorithms/Mldsa.ts:142

The options for creating an ML-DSA signature validator for JWT.

Properties ​

checkAlgClaim? ​

optional checkAlgClaim?: boolean

Defined in: src/lib/Algorithms/Mldsa.ts:162

Whether to check the alg claim in the JWT header if it is present.

Default ​

ts
true

customName? ​

optional customName?: string

Defined in: src/lib/Algorithms/Mldsa.ts:149

A custom name for this validator.

Default ​

ts
'MldsaJwaVerifier'

publicKey ​

publicKey: string | KeyObject

Defined in: src/lib/Algorithms/Mldsa.ts:155

The public key to use for ML-DSA signature verification. If a string is provided, it must be a PEM encoded ML-DSA public key.