-
Notifications
You must be signed in to change notification settings - Fork 5
/
Sequence_instantiateCmpClientComponent.uml
57 lines (42 loc) · 1.54 KB
/
Sequence_instantiateCmpClientComponent.uml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@startuml
entity "**Embedding Application**" as embedapp
activate embedapp
participant "Client Instance" as Client
participant "UpstreamExchange interface" as Upstream
activate Upstream
embedapp <-> Client : new CmpClient()
activate Client
hnote over embedapp, Client
synchronous call of getCaCertificates(),
getCertificateRequestTemplate(), getCrls(),
getRootCaCertificateUpdate(),
invokeEnrollment() or invokeRevocation()
end note
embedapp -> Client : invoke CmpClient method
Client -> Upstream : sendReceiveMessage(**byte[]** request, **String** certProfile, **int** bodyTypeOfFirstRequest)
alt synchronous
Upstream --> Client : **byte[]** sendReceiveMessage (response)
else asynchronous: delayed delivery
Upstream --> Client : **byte[]** sendReceiveMessage (response with waiting indication)
loop
Client -> Upstream : sendReceiveMessage(**byte[]** pollRequest, **String** certProfile, **int** bodyTypeOfFirstRequest)
alt
Upstream --> Client : **byte[]** sendReceiveMessage (pollResponse)
else
break
end
end
end
Upstream --> Client : **byte[]** sendReceiveMessage (response)
end
opt sucessfull enrollment without implicit confirm
Client -> Upstream : sendReceiveMessage(**byte[]** certConf, **String** certProfile, **int** bodyTypeOfFirstRequest)
Upstream --> Client : **byte[]** sendReceiveMessage (pkiConf)
end
hnote over embedapp, Client
response of getCaCertificates(), getCertificateRequestTemplate()
getCrls(), getRootCaCertificateUpdate(),
invokeEnrollment() or invokeRevocation()
end note
Client -> embedapp: CmpClient method call returns
@enduml