Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CWT Claims in Headers #108

Merged
merged 4 commits into from
Oct 20, 2023
Merged
Changes from 3 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
10 changes: 8 additions & 2 deletions draft-ietf-scitt-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,13 @@ COSE_Sign1 = [
payload : bstr,
signature : bstr
]
<!-- https://datatracker.ietf.org/doc/draft-ietf-cose-cwt-claims-in-headers/ -->
<!-- https://www.iana.org/assignments/cwt/cwt.xhtml -->
CWT_Claims = {
1 => tstr; iss, the issuer that is making statements
2 -> tstr; sub, the subject about which the statements are made, throughout this spec, this is also called feed.
OR13 marked this conversation as resolved.
Show resolved Hide resolved
OR13 marked this conversation as resolved.
Show resolved Hide resolved
* tstr => any
}

Reg_Info = {
? "register_by": uint .within (~time),
Expand All @@ -679,9 +686,8 @@ Protected_Header = {
1 => int ; algorithm identifier
3 => tstr ; payload type
4 => bstr ; Key ID
13 => CWT_Claims ; CBOR Web Token Registered Claims
; TBD, Labels are temporary
391 => tstr ; DID of Issuer
392 => tstr ; Feed
393 => Reg_Info ; Registration Policy info
Copy link
Member

Choose a reason for hiding this comment

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

why is 393 still in, when there is 13 in?

}

Expand Down