In the JWS I-D, we have some JSON that is an example. And the content within is BASE64URL encoded. We could, I think, describe this in CDDL, but we aren't trying to be authoritative. (It's a JOSE example)
We are struggling with quoting. We could write:
"payload": "BASE64URL(ietf-voucher:voucher)",
which would make it valid JSON, with the literal contents.
Or we could write:
"payload": BASE64URL(ietf-voucher:voucher),
which sorta makes it valid Javascript, assuming such a function existed.
here is an example with both variations:
{
"payload": BASE64URL(ietf-voucher:voucher),
"signatures": [
{
"protected": "BASE64URL(UTF8(JWS Protected Header))",
"signature": "base64encodedvalue=="
}
]
}
--
Michael Richardson <[email protected]> . o O ( IPv6 IøT consulting )
Sandelman Software Works Inc, Ottawa and Worldwide
signature.asc
Description: PGP signature
_______________________________________________ Anima mailing list [email protected] https://www.ietf.org/mailman/listinfo/anima
