You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/vc_wallet.md
+111-2Lines changed: 111 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,17 @@ Here are the major specification followed by aries verifiable credential wallet
8
8
*[Universal Wallet](https://w3c-ccg.github.io/universal-wallet-interop-spec/) - for wallet data models and interfaces.
9
9
*[Verifiable Presentation request Specifications](https://w3c-ccg.github.io/vp-request-spec/) - for credential queries.
10
10
*[Presentation Exchange](https://identity.foundation/presentation-exchange/) - for credential queries.
11
+
*[WACI Presentation Exchange](https://identity.foundation/waci-presentation-exchange/): Wallet and credential interaction standards using DIDComm.
12
+
*[Verifiable Credentials Data Model v1.1](https://www.w3.org/TR/vc-data-model/): For all the verifiable credential data model operations.
13
+
*[JSON-LD v1.1](https://w3c.github.io/json-ld-syntax/): For JSON-based Serialization for Linked Data.
14
+
*[Linked Data Proofs v1.0](https://w3c-ccg.github.io/ld-proofs/): For generating JSON-LD based linked data proofs.
15
+
*[Decentralized Identifiers (DIDs) v1.0](https://w3c.github.io/did-core/): For signing and verifying verifiable credentials and presentations.
16
+
*[WebKMS v0.7](https://w3c-ccg.github.io/webkms/): For implementing cryptographic key management systems for the wallet.
17
+
*[Decentralized Identifier Resolution (DID Resolution) v0.2](https://w3c-ccg.github.io/did-resolution/): Followed for resolving various decentralized identifiers.
18
+
*[Aries RFCS](#aries-rfcs): it follows many aries RFCs features like DIDComm, Out-Of-Band Messaging, Issue Credential Protocol, Present Proof Protocol, Messaging, Mediators etc.
19
+
*[DIDComm V2](https://identity.foundation/didcomm-messaging/spec/): Version 2 of DID Communication protocol for secured communication between wallet and issuer/relying party.
20
+
*[Credential Manifest](https://identity.foundation/credential-manifest/): Credential Manifests are a resource format that defines preconditional requirements, Issuer style preferences, Credential Style preferences and other facets User Agents utilize to help articulate and select the inputs necessary for processing and issuance of a specified credential.
21
+
11
22
12
23
## How it works
13
24
@@ -45,6 +56,8 @@ and they will be discussed in detail in data models and interfaces sections belo
45
56
The aries verifiable credential wallet provides various verifiable credentials operations based on universal wallet specifications like issue, prove, verify, derive etc.
46
57
Refer data models and interfaces sections below for more details.
47
58
59
+
#### DIDComm Operations
60
+
The aries verifiable credential wallet provides various DIDComm operations to perform secured exchange of credentials and other metadata between wallet and issuer/relying party.
48
61
49
62
## Creating and Updating Wallet Profiles
50
63
* A wallet profile with local KMS can be created by providing passphrase or secret lock service option.
@@ -603,7 +616,7 @@ Returns,
603
616
604
617
// accept an invitation from wallet, perform DID connect, send propose presentation message, wait and
605
618
// return request presentation message response from relying party.
Sends request credential message from wallet to issuer and optionally waits for credential fulfillment.
688
+
689
+
Params:
690
+
* thID: thread ID (action ID) of offer credential message previously received.
691
+
* concludeInteractionOptions: options to conclude interaction like presentation to be shared etc.
692
+
* rawPresentation - requesting credential from raw credential.
693
+
* presentation presenting proof or requesting credential from verifiable presentation instance. This option takes precedence when provided with other options.
694
+
* waitForDone - if provided then wallet will wait till it gets acknowledgement or problem report from other party.
695
+
* timeout - time duration to wait for status to be done or abanoned.
696
+
697
+
Returns:
698
+
* Credential interaction status containing status, redirectURL.
699
+
* error if operation fails.
700
+
701
+
> Aries Go SDK Sample for sending request credential message from wallet to issuer.
702
+
```
703
+
// creating vcwallet instance.
704
+
myWallet, err := vcwallet.New(sampleUserID, ctx)
705
+
706
+
// open wallet.
707
+
err = myWallet.Open(...)
708
+
709
+
// send request credential message to issuer for ongoing credential interaction.
Aries command controller supports all verifiable credential wallet features with many more customization options like Authorization Capabilities (ZCAP-LD) feature for wallet's EDV and WebKMS components.
643
747
@@ -732,12 +836,17 @@ let requestPresentationMsg = await agent.vcwallet.proposePresentation({userID, a
732
836
// send present proof message from wallet for WACI share flow.
0 commit comments