Open troyronda opened 4 years ago
Hey @troyronda ! I can see the following flow here:
1) call Credential.Presentation()
to create VP with composed VC.
2) add a proof to the VP using Presentaion.AddLinkedDataProof()
. It accepts LinkedDataProofContext
where we can pass proof parameters. Currently, challenge
and domain
are not included. I can add them to this issue's PR.
See example
I see that a VC has a method to create a Presentation from itself. https://godoc.org/github.com/hyperledger/aries-framework-go/pkg/doc/verifiable#Credential.Presentation
How do we add arguments for the Proof? (@kdimak)