hyperledger-archives / aries-toolbox

Hyperledger Aries
https://wiki.hyperledger.org/display/aries
Apache License 2.0
43 stars 45 forks source link

feat: add retrieve credential definitions #315

Open davideroffo opened 1 year ago

davideroffo commented 1 year ago

Summary

This pull request closes #314 by making the necessary changes to the cred-def-list component.

The updates include setting the component property to be retrievable and passing the full list of cred_defs. Additionally, the cred_defs are now fetched during the created lifecycle.

These changes will enable the user to retrieve the Credential Definitions by TxID and use them when creating the Request Presentation.

Main Changes

With these changes, users will be able to easily retrieve the Credential Definitions and use them in creating a Request Presentation, ultimately improving the overall functionality of the component.

image