Skip to content
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.

Security CR50: replace deviceid with deviceuuid #3

Open
wants to merge 2 commits into
base: ocf/1.0/spec
Choose a base branch
from

Conversation

danmihai1
Copy link

Signed-off-by: Dan Mihai [email protected]


title Client-directed Certificate Transfer

participant "Credential Management Service" as CMS

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"

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>"}]

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":""}]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants