Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

chore: decode presentation credential in SD JWT format #3507

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/doc/verifiable/presentation.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ func decodeCredentials(rawCred interface{}, opts *presentationOpts) ([]interface
bCred := []byte(sCred)

credOpts := []CredentialOpt{
WithSDJWTPresentation(),
WithPublicKeyFetcher(opts.publicKeyFetcher),
WithEmbeddedSignatureSuites(opts.ldpSuites...),
WithJSONLDDocumentLoader(opts.jsonldCredentialOpts.jsonldDocumentLoader),
Expand Down