-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from Sphereon-Opensource/develop-143
Big changes from previous PR plus some document changes
- Loading branch information
Showing
53 changed files
with
4,885 additions
and
2,602 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@startuml | ||
|
||
header PE-JS | ||
|
||
title | ||
PE-JS | ||
Data Flow Diagram - version 0.1.0 | ||
end title | ||
|
||
|
||
autonumber | ||
|
||
participant "PE-JS-Verifier" as PE2 order 0 #ORANGE | ||
participant "Verifier" as V order 1 #ORANGE | ||
participant "Alice" as A order 2 #PINK | ||
participant "Wallet" as W order 3 #YELLOW | ||
participant "PE-JS" as PE order 4 #YELLOW | ||
|
||
V -> W: PresentationDefinition | ||
W -> A: Notification | ||
A -> W: Accepts PresentationDefinition | ||
W -> PE: evaluate(presentationDefinition, allAvailableCredentials[]) | ||
PE -> W: evaluation results | ||
W -> A: from the credentials that you've selected, \na combination of these are acceptable | ||
A -> W: selects a combination of credentials | ||
W -> PE: selectFrom(2ndSetOfCredentials[]) | ||
PE -> W: selectFrom response | ||
W -> PE: submissionFrom(selectableCredentials) | ||
PE -> W: submissionFrom response | ||
|
||
W -> PE: createPresentation(selectFromResult) | ||
PE -> W: get an actual Presentation object | ||
W -> W: signPresentation(presentation) | ||
|
||
W -> V: VerifiablePresentation | ||
|
||
V -> PE2: evaluate(VerifiableCredential) | ||
PE2 -> V: evaluation result | ||
V -> W: Pass/Fail response | ||
W -> A: Pass/Fail notification | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.