diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-05-14 02:15:32 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-05-14 02:15:32 +0200 |
commit | 19e2c2430d971ecc3e3d673a4273e9d1048e6000 (patch) | |
tree | 67c7ba39722c67daf4643608f5a61e3953a94810 /articles/ui | |
parent | a8e2d108e4295abcb0dc79e1b4f774cc04f8c93d (diff) | |
download | wallet-core-19e2c2430d971ecc3e3d673a4273e9d1048e6000.tar.xz |
diagrams
Diffstat (limited to 'articles/ui')
-rw-r--r-- | articles/ui/figs/contract.pdf | bin | 0 -> 36618 bytes | |||
-rw-r--r-- | articles/ui/figs/contract.pml | 31 | ||||
-rw-r--r-- | articles/ui/figs/taler-pay.pdf | bin | 27727 -> 192494 bytes | |||
-rw-r--r-- | articles/ui/figs/taler-pay.pml | 44 | ||||
-rw-r--r-- | articles/ui/figs/taler-withdraw.pdf | bin | 21753 -> 125265 bytes | |||
-rw-r--r-- | articles/ui/figs/taler-withdraw.pml | 36 | ||||
-rw-r--r-- | articles/ui/figs/taler-withdraw.png | bin | 0 -> 54609 bytes |
7 files changed, 111 insertions, 0 deletions
diff --git a/articles/ui/figs/contract.pdf b/articles/ui/figs/contract.pdf Binary files differnew file mode 100644 index 000000000..e83162109 --- /dev/null +++ b/articles/ui/figs/contract.pdf diff --git a/articles/ui/figs/contract.pml b/articles/ui/figs/contract.pml new file mode 100644 index 000000000..74bf23dd6 --- /dev/null +++ b/articles/ui/figs/contract.pml @@ -0,0 +1,31 @@ + +@startuml + +hide footbox + +box "User" + Participant "Wallet" as W + Participant "Browser" as U +end box + +box "Merchant" + Participant "Storefront" as S + Participant "Backend" as B +end box + +autonumber + +S -> B : proposed contract +B -> S : signed contract + +S -> U : custom (HTTP(S)) + +U -> W : signed contract +W -> U : signed coins + +U -> S : custom (HTTP(S)) + +S -> B : signed coins (HTTP(S)) +B -> S : confirmation (HTTP(S)) + +@enduml diff --git a/articles/ui/figs/taler-pay.pdf b/articles/ui/figs/taler-pay.pdf Binary files differindex 590fff216..818ddc66a 100644 --- a/articles/ui/figs/taler-pay.pdf +++ b/articles/ui/figs/taler-pay.pdf diff --git a/articles/ui/figs/taler-pay.pml b/articles/ui/figs/taler-pay.pml new file mode 100644 index 000000000..56d5c0c3c --- /dev/null +++ b/articles/ui/figs/taler-pay.pml @@ -0,0 +1,44 @@ +@startuml + +Actor "Payer (Shopper) Browser" as Payer +Participant "Payee (Merchant) Site" as Payee +Participant "Taler Exchange" as Exchange + +note over Payer, Payee: Tor/HTTPS +note over Payee, Exchange: HTTP/HTTPS + +title Taler (Payment) + +== Establish Contract == + +opt +Payer->Payer: Select Taler payment method (skippable with auto-detection) +end + +Payer->Payee: Choose goods + +Payee->Payer: Send signed digital contract proposal + +== Execute Payment == + +opt +Payer->Payer: Affirm contract +end + +Payer->Payee: Send payment + +Payee->Exchange: Forward payment + +Exchange->Payee: Confirm payment + +== Fulfilment == + +Payee->Payer: Confirm payment + +opt +Payer->Payee: Request fulfillment (if Web article) + +Payee->Payer: Provide product resource +end + +@enduml diff --git a/articles/ui/figs/taler-withdraw.pdf b/articles/ui/figs/taler-withdraw.pdf Binary files differindex 1bf3ee484..8706b447c 100644 --- a/articles/ui/figs/taler-withdraw.pdf +++ b/articles/ui/figs/taler-withdraw.pdf diff --git a/articles/ui/figs/taler-withdraw.pml b/articles/ui/figs/taler-withdraw.pml new file mode 100644 index 000000000..6860bb940 --- /dev/null +++ b/articles/ui/figs/taler-withdraw.pml @@ -0,0 +1,36 @@ +@startuml + +Actor "Customer Browser" as Customer +Participant "Bank Site" as Bank +Participant "Taler Exchange" as Exchange + +note over Customer, Bank: HTTPS +note over Customer, Exchange: HTTPS +note over Bank, Exchange: wire transfer + +title Taler (Withdraw coins) + +Customer->Bank: user authentication +Bank->Customer: send account portal + +Customer->Customer: initiate withdrawal (specify amount and exchange) + +Customer->Exchange: request coin denomination keys and wire transfer data +Exchange->Customer: send coin denomination keys and wire transfer data + +Customer->Bank: execute withdrawal + +opt +Bank->Customer: request transaction authorization +Customer->Bank: transaction authorization +end + +Bank->Customer: withdrawal confirmation +Bank->Exchange: execute wire transfer + + +Customer->Exchange: withdraw request +Customer->Exchange: signed blinded coins +Customer->Customer: unblind coins + +@enduml diff --git a/articles/ui/figs/taler-withdraw.png b/articles/ui/figs/taler-withdraw.png Binary files differnew file mode 100644 index 000000000..6e3f0f4a0 --- /dev/null +++ b/articles/ui/figs/taler-withdraw.png |