forked from openwallet-foundation/sd-jwt-js
-
Notifications
You must be signed in to change notification settings - Fork 0
03. SD JWT API
Lukas.J.Han edited this page Dec 15, 2023
·
1 revision
You can use API through default sdjwt Instance.
import sdjwt from '@hopae/sd-jwt';
sdjwt.issue(...)
- create([config])
- issue(claims, privateKey[, disclosureFrame, options])
- present(encodedSDJwt[, presentationKeys])
- validate(encodedSDJwt, publicKey)
- verify(encodedSDJwt, publicKey[, requiredClaimKeys, options])
- config(config)
- encode(sdjwt)
- decode(encodedSDJwt)
- keys(encodedSDJwt)
- presentableKeys(encodedSDJwt)
- getClaims(encodedSDJwt)