Skip to content

Commit 11fc91e

Browse files
Explicit token response (#29)
1 parent f4700fd commit 11fc91e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

draft-ietf-privacypass-batched-tokens.md

+10
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,16 @@ IANA, the Issuer MUST return an HTTP 422 (Unprocessable Content) error to the
479479
client. The issuer creates a BatchTokenResponse structured as follows:
480480

481481
~~~tls
482+
struct {
483+
select (token_type) {
484+
case (0x0001): /* Type VOPRF(P-384, SHA-384), RFC 9578 */
485+
uint8_t evaluated_msg[Ne];
486+
uint8_t evaluated_proof[Ns + Ns];
487+
case (0x0002): /* Type Blind RSA (2048-bit), RFC 9578 */
488+
uint8_t blind_sig[Nk];
489+
}
490+
} TokenResponse;
491+
482492
struct {
483493
optional<TokenResponse> token_response; /* Defined by token_type */
484494
} OptionalTokenResponse;

0 commit comments

Comments
 (0)