-
Notifications
You must be signed in to change notification settings - Fork 57
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
bump version and update readme #444
Conversation
TBDocs Report 🛑 Errors: 0 @web5/api
@web5/crypto
@web5/crypto-aws-kms
@web5/dids
@web5/credentials
TBDocs Report Updated at 2024-03-13T15:13:39Z |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #444 +/- ##
=======================================
Coverage 93.35% 93.35%
=======================================
Files 80 80
Lines 23839 23839
Branches 1891 1891
=======================================
Hits 22255 22255
Misses 1544 1544
Partials 40 40
|
@nitro-neal Thanks for following up on this so quickly after @blackgirlbytes asked. Noticed that the README is ordered:
Is that the logical order or is it more a consequence of historically when each was added? |
Yup I went ahead and reordered, flows much better this way: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!
* bump version and update readme * spacing * updates * reorder
* bump version and update readme * spacing * updates * reorder
* bump version and update readme * spacing * updates * reorder
VerifiablePresentation
VP Features
VP Usage
Creating a Verifiable Presentation
Create a new VerifiablePresentation with the following parameters:
holder
: The holder URI of the presentation, as a string..vcJwts
: The JWTs of the credentials to be included in the presentation.type
: Optional type of the presentation, can be a string or an array of strings.additionalData
: Optional additional data to be included in the presentation.Signing a Verifiable Presentation
Sign a
VerifiablePresentation
with a DID:did
: The did that is signing the VPSign the VP using the
did
objectVerifying a Verifiable Presentation
Verify the integrity and authenticity of a Verifiable Presentation
vpJwt
: The VP in JWT format as a String.Parsing a JWT into a Verifiable Presentation
Parse a JWT into a
VerifiablePresentation
instancevpJwt
: The VP JWT as a String.