Skip to content

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