Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
OR13 committed Nov 6, 2023
1 parent 234fae0 commit 23582be
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions draft-steele-cose-hash-envelope.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,23 @@ However, a detached payload cose sign 1 still requires the payload content to be

For large payloads this is a problem. This draft addresses this problem by describing a simply way to sign hashes of large payloads while maintaining information about their content type.

## Usage

~~~~ cbor-diag
{
/ Algorithm /
1: -35,
/ Key identifier /
4: h'75726e3a...32636573',
/ typ of the envelope /
TBD 0: application/hashed+cose
/ Hash algorithm of the payload /
TBD 1: sha-256
/ cty of the preimage of the payload /
TBD 2: application/jwk+json
}
~~~~


# Conventions and Definitions

Expand Down

0 comments on commit 23582be

Please sign in to comment.