digitalbazaar / data-integrity

Data Integrity Proof library for use with jsonld-signatures.
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Allow passed cryptosuite to provide optional `createVerifyData` to replace default implementation #3

Closed dlongley closed 1 year ago

dlongley commented 1 year ago

Also, pass cryptosuite instance as an extra parameter to createVerifyData when called. This allows cryptosuite parameters for signing (such as a JSON-LD frame) to be included and accessible.