Skip to content
Snippets Groups Projects
Commit 39885ddf authored by Martin van Es's avatar Martin van Es
Browse files

Add first sequence diagrams

parent 1787e173
No related branches found
No related tags found
No related merge requests found
@startuml
hide footbox
title Enrollment endpoint
entity Client as client
entity "Enroll\nendpoint" as endpoint
database Subordinates as subs
client -> endpoint: GET\nsub, entity_type
client <-- endpoint: GET Entity Configuration
endpoint -> endpoint: Checks
note left
✓Trust Chain
✓Trust Mark
✓Entity id in its authority_hints
end note
group Yes
endpoint -> subs: Add Entity
client <-- endpoint: Fetch Entity Statement
end
group No
client <-- endpoint: Forbidden
end
@enduml
@startuml
hide footbox
title Trust Mark Issuance endpoint?
entity Client as client
entity "Trust Mark\nendpoint" as endpoint
database "Trust marked\nentities" as tmes
client -> endpoint: GET\nPrivate key JWT
endpoint --> tmes: In list?
group Yes
client <-- endpoint: Trustmark
end
group No
endpoint -> endpoint: Checks
note left
✓Trust Chain
✓Trust Mark
✓Entity id in its authority_hints
end note
group Yes
endpoint -> tmes: Add Entity
client <-- endpoint: Trustmark
end
group No
client <-- endpoint: Forbidden
end
end
@enduml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment