forked from hyperledger-archives/indy-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathissuer-credential.puml
23 lines (14 loc) · 903 Bytes
/
issuer-credential.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@startuml
title
IssuerCredential API as Issuer
The diagram shows IssuerCredential object state transitions in case acting as an Issuer.
end title
[*] --> VcxStateInitialized: vcx_issuer_create_credential
VcxStateInitialized --> VcxStateOfferSent: vcx_issuer_send_credential_offer
note left of VcxStateOfferSent : use vcx_issuer_credential_update_state \n or vcx_issuer_credential_update_state_with_message \n for connection status updates
VcxStateOfferSent --> VcxStateRequestReceived: received `CredentialRequest` message
VcxStateOfferSent --> VcxStateNone: received `ProblemReport` message
VcxStateRequestReceived --> VcxStateAccepted: vcx_issuer_send_credential
note left of VcxStateAccepted : use vcx_issuer_credential_update_state \n or vcx_issuer_credential_update_state_with_message \n for connection status updates
VcxStateAccepted --> VcxStateAccepted: received `Ack` message
@enduml