Skip to content

Commit

Permalink
Merge pull request #108 from transmute-industries/feat-cwt-claims
Browse files Browse the repository at this point in the history
Use CWT Claims in Headers
  • Loading branch information
SteveLasker authored Oct 20, 2023
2 parents c02c193 + 4d414a4 commit 0f5dc15
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions draft-ietf-scitt-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,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.
* tstr => any
}

Reg_Info = {
? "register_by": uint .within (~time),
Expand All @@ -653,9 +660,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
}

Expand Down

0 comments on commit 0f5dc15

Please sign in to comment.