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

Commit

Permalink
chore: decode presentation credential in SD JWT format (#3507)
Browse files Browse the repository at this point in the history
Signed-off-by: Mykhailo Sizov <mykhailo.sizov@securekey.com>
  • Loading branch information
mishasizov-SK authored Jan 31, 2023
1 parent 4f626a7 commit c3eeffb
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit c3eeffb

Please sign in to comment.