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

Feat/add req obj signing alg setter wallet metadata #38

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

Ryanmtate
Copy link
Contributor

@Ryanmtate Ryanmtate commented Oct 30, 2024

Changes:

  • Cargo.toml: Updated the serde_json_path dependency from version 0.6.7 to 0.7.1.

  • src/core/metadata/mod.rs: Added a new method add_request_object_signing_alg_values_supported to the WalletMetadata struct, which allows adding a request object signing algorithm to the list of supported algorithms.

  • src/core/metadata/parameters/wallet.rs: Modified the RequestObjectSigningAlgValuesSupported struct to derive the Default trait.

  • src/core/object/mod.rs: Removed the flatten_for_form method from the UntypedObject struct.

  • src/core/response/mod.rs: Refactored the AuthorizationResponse to use a new JsonEncodedAuthorizationResponse struct for encoding and decoding. Updated the UnencodedAuthorizationResponse struct and added methods for handling VpToken and PresentationSubmission.

  • Added implementations for VpToken to handle serialization, deserialization, and conversions from various types like String and JsonPresentation.

  • Introduced the JsonEncodedAuthorizationResponse struct to handle the encoding of VpToken and PresentationSubmission.

@Ryanmtate Ryanmtate changed the base branch from main to feat/use-ssi-v0.10 October 30, 2024 17:38
Base automatically changed from feat/use-ssi-v0.10 to main November 20, 2024 19:32
Ryanmtate and others added 3 commits November 21, 2024 11:42
* use serde deserialize serialize derive for authorization response

Signed-off-by: Ryan Tate <[email protected]>

* update url encoding for auth response

Signed-off-by: Ryan Tate <[email protected]>

* fix unit tests

Signed-off-by: Ryan Tate <[email protected]>

* use custom struct for json string encoded authorization response inner values

Signed-off-by: Ryan Tate <[email protected]>

---------

Signed-off-by: Ryan Tate <[email protected]>
@Ryanmtate Ryanmtate force-pushed the feat/add-req-obj-signing-alg-setter-wallet-metadata branch from 9c71c21 to 942a9a4 Compare November 21, 2024 19:42
@Ryanmtate Ryanmtate merged commit 427c766 into main Nov 27, 2024
2 checks passed
@Ryanmtate Ryanmtate deleted the feat/add-req-obj-signing-alg-setter-wallet-metadata branch November 27, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants