-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
I am confused by the wording in section 3.3.3. To quote the algorithm:
- Let result be the empty set.
- Let empty be equal to true.
- For each token returned by splitting metadata on spaces:
- Set empty to false.
- If token is not a valid metadata, skip the remaining steps, and proceed to the next token.
- Parse token per the grammar in integrity metadata.
- Let algorithm be the alg component of token.
- If algorithm is a hash function recognized by the user agent, add the parsed token to result.
- Return no metadata if empty is true, otherwise return result.
Question:
What is the definition of "valid metadata" mentioned in step 3 ii? Is it just syntactical correctness as per the ABNF grammar or something more? I ask because the parsing step (3 iii) is mentioned after the check for "valid metadata" which seems to imply that there is more to it than just syntax. But I can't find any other criteria for metadata correctness.
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels