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

IANA Considerations: Different value type registries #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
22 changes: 12 additions & 10 deletions draft-ietf-cose-hash-envelope.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ informative:

entity:
SELF: "RFCthis"
br: "
"

--- abstract

Expand Down Expand Up @@ -175,16 +176,17 @@ The approach this specification takes is just one way to perform application agn

## COSE Header Parameters

IANA is requested to add the COSE header parameters defined in {{param-spec}}, as listed in {{iana-header-params}}, to the "COSE Header Parameters" registry {{!IANA.cose_header-parameters}} in the 'Integer values from 256 to 65535' range ('Specification Required' Registration Procedure)..

All new entries use https://www.iana.org/assignments/cose/cose.xhtml#algorithms as the value for the "Value Registry" column.

| Name | Label | Value Type | Description | Reference |
|-------------------------|-----------------------------------|-------------|--------------------------------------------------------------------------------------------------------|-----------------------|
| `payload-hash-alg` | TBD_1 (requested assignment: TBD) | int | The hash algorithm used to produce the payload of a COSE_Sign1 | {{&SELF}}, {{param-spec}} |
| `preimage content type` | TBD_2 (requested assignment: TBD) | uint / tstr | The content-format or media-type of data that has been hashed to produce the payload of the COSE_Sign1 | {{&SELF}}, {{param-spec}} |
| `payload-location` | TBD_3 (requested assignment: TBD) | tstr | The string or URI hint for the location of the data hashed to produce the payload of a COSE_Sign1 | {{&SELF}}, {{param-spec}} |
{: #iana-header-params title="Newly registered COSE Header Parameters"}
IANA is requested to add the COSE header parameters defined in {{param-spec}}, as listed in {{iana-header-params}}, to the "COSE Header Parameters" registry {{!IANA.cose_header-parameters}}, in the 'Integer values from 256 to 65535' range ('Specification Required' Registration Procedure).

| Name | Label | Value Type | (1) | Description | Reference |
|-------------------------|-------|-------------|--------|-----------------------------------------------------------------------------------------------------------------------------------|-----------------------|
| `payload-hash-alg` | TBD_1 | int | (2) | The hash algorithm used to produce the payload of a COSE_Sign1 | {{&SELF}}, {{param-spec}} |
| `preimage content type` | TBD_2 | uint / tstr | (3) | The content-format number or content-type (media-type name) of data that has been hashed to produce the payload of the COSE_Sign1 | {{&SELF}}, {{param-spec}} |
| `payload-location` | TBD_3 | tstr | (none) | The string or URI hint for the location of the data hashed to produce the payload of a COSE_Sign1 | {{&SELF}}, {{param-spec}} |
{: #iana-header-params title="Newly registered COSE Header Parameters
&br;(1): Value Registry
&br;(2): https://www.iana.org/assignments/cose/cose.xhtml#algorithms
&br;(3): https://www.iana.org/assignments/core-parameters/core-parameters.xhtml#content-formats"}

--- back

Expand Down