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

Discuss issued and presented forms of JPTs #135

Merged
Merged
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
30 changes: 18 additions & 12 deletions draft-ietf-jose-json-proof-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,25 +128,30 @@ The following is an example JWP Protected Header that includes a `cid`:

<{{./fixtures/template/jpt-issuer-protected-header-with-cid.json}}

# Payloads
# Presented Claims and Proofs

> Editor's Note: This section is incomplete. Use it only as an indicator of the intended direction.

Application resolves each claim as required when processing the JPT. Resolution can result in one of three things:
1. A disclosed JSON value
2. A custom proof method
3. A `null` value
Each claim in the issued form of the JPT results in one of three things in the presented form of the JPT:
1. A disclosed JSON value.
1. An indicator that the value was not disclosed.
1. An algorithm-specific proof method.

## Disclosed

Always an octet string of valid JSON text.
A disclosed payload is represented as a UTF-encoded octet string representing a valid JSON value.

## Undisclosed

The placeholder indicating that a payload was not disclosed is represented as
described in Section 6 (Serializations) of [@!I-D.ietf-jose-json-web-proof].

## Proof Methods

* proof methods can be returned instead of a disclosed payload
* these are generated by the algorithm from information in the JWP's proof value
* a proof method may be custom based on the capabilities of the algorithm
* define common proof method types available?
Proof methods can be returned instead of a disclosed payload.
These are generated in an algorithm-specific manner from information in the JWP's proof value.

A proof method may be custom based on the capabilities of the algorithm.

* TBD: Describe common proof method types available?
* range
* membership
* time
Expand Down Expand Up @@ -205,6 +210,7 @@ for his valuable contributions to this specification.
[[ To be removed from the final specification ]]

* Update reference to new repository home
* Fixed #99: Discussed issued and presented forms of JPTs.

-05

Expand Down
Loading