Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Holder presentation #39

Merged

Conversation

dtsiflit
Copy link
Collaborator

Description of change

SD-JWT-VC feature. The ability to create a holder presentation. Usage examples can be found here:

// obtain/create an issuer signed sd-jwt
let query: Set<JSONPointer> = Set(
  ["/address/region", "/address/country", "/test_recursive/recursive_address"]
    .compactMap {
      JSONPointer(pointer: $0)
    }
)
    
let presentedSdJwt = try await issuerSignedSDJWT.present(
  query: query,
  visitor: visitor
)

The solution makes use of JSON pointers.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the readme
  • My changes generate no new warnings
  • I have added unit tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@dtsiflit dtsiflit self-assigned this Oct 14, 2024
@dtsiflit dtsiflit added feature New feature or request draft11 labels Oct 14, 2024
@dtsiflit
Copy link
Collaborator Author

Addresses #32

@dtsiflit dtsiflit marked this pull request as ready for review October 18, 2024 07:15
@dtsiflit dtsiflit requested a review from a team as a code owner October 18, 2024 07:15
@dtsiflit dtsiflit merged commit 4e09ad5 into eu-digital-identity-wallet:main Oct 21, 2024
2 checks passed
@dtsiflit dtsiflit deleted the feature/holder-presentation branch October 21, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft11 feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant