Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions security/ClientDirectedCertificateTransfer.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
@startuml
autonumber

title Client-directed Certificate Transfer

participant "Credential Management Service" as CMS
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please divide this in multiple line such as "Credential\nManagement\nService"

participant "Device" as DEV

note over CMS, DEV
The Ownership Credential should be used to establish a secure connection.
end note

CMS->DEV: RETRIEVE /oic/sec/csr
DEV->CMS: RSP [{"csr":"<contents of CSR>", "encoding":"<supported-encoding-type>"}]

CMS->DEV: UPDATE /oic/sec/cred [{"credtype":8, "subject":"deviceuuid", "credusage":"primary_cert", "publicdata":"<DER-encoded device and CA certificate chain in base64>"}]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Break this line also into two lines
CMS->DEV: UPDATE /oic/sec/cred [{"credtype":8, "subject":"deviceuuid", "credusage":"primary_cert", \n"publicdata":""}]

DEV->CMS: RSP 2.04

CMS->DEV: UPDATE /oic/sec/pstat [{..., "tm"="bx0010,0000", ...}]
DEV->CMS: RSP 2.04

@enduml
*/
2 changes: 1 addition & 1 deletion security/DOXM-JW.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ND->OT: RSP 2.04
note over OT, ND
Onboarding tool posts the device owner ID.
end note
OT->ND: POST /oic/sec/doxm[{..., "devowner":"B0B0XXXX-...",...}]
OT->ND: POST /oic/sec/doxm[{..., "devowneruuid":"B0B0XXXX-...",...}]
ND->OT: RSP 2.04

note over OT, ND
Expand Down
2 changes: 1 addition & 1 deletion security/DOXM-MFGCERT.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ND->OT: RSP 2.04
note over OT, ND
Onboarding tool posts the device owner ID.
end note
OT->ND: POST /oic/sec/doxm[{..., "devowner":"B0B0XXXX-...",...}]
OT->ND: POST /oic/sec/doxm[{..., "devowneruuid":"B0B0XXXX-...",...}]
ND->OT: RSP 2.04

note over OT, ND
Expand Down
2 changes: 1 addition & 1 deletion security/DOXM-RDP.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ND->OT: RSP 2.04
note over OT, ND
Onboarding tool posts the device owner ID.
end note
OT->ND: POST /oic/sec/doxm[{..., "devowner":"B0B0XXXX-...",...}]
OT->ND: POST /oic/sec/doxm[{..., "devowneruuid":"B0B0XXXX-...",...}]
ND->OT: RSP 2.04

note over OT, ND
Expand Down