The current Voucher_Response, defined as
Voucher_Response = [
? Voucher: bstr,
? CRED_U: bstr,
]
does not allow setting just one of the parameters. For example: when only Voucher is set (and CRED_U is absent), there is no way for V to know whether a Voucher_Response contains a Voucher or a CRED_U.
Proposed fix: turn it into a map and add IANA registrations (cc @chrysn). This would also support trivial extensions to the Voucher_Response, such as Gabriel López Millán's proposal to have W to send Voucher information to V.
The current Voucher_Response, defined as
does not allow setting just one of the parameters. For example: when only Voucher is set (and CRED_U is absent), there is no way for V to know whether a
Voucher_Responsecontains a Voucher or a CRED_U.Proposed fix: turn it into a map and add IANA registrations (cc @chrysn). This would also support trivial extensions to the
Voucher_Response, such as Gabriel López Millán's proposal to have W to send Voucher information to V.