Skip to content
This repository was archived by the owner on Sep 22, 2026. It is now read-only.

06. Validate API

Lukas.J.Han edited this page Dec 15, 2023 · 1 revision
const validated = await sdjwt.validate(encodedSdjwt, publicKey);

Parameters

  • encodedSdjwt: encoded SD JWT [string]
  • publicKey: key to verify SD JWT [Uint8Array | KeyLike]

Return

  • boolean: true if SD JWT is validated

Clone this wiki locally