ace-wg / ace-dtls-profile

A DTLS profile for Authentication and Authorization for Constrained Environments
6 stars 5 forks source link

[AUTH48] Fix CBOR map labels with diagnostic notation #35

Closed obgm closed 2 years ago

obgm commented 2 years ago

Replace syntactically incorrect CBOR mapkeys

{ 
      token_type  : PoP,
      expires_in  : 86400,
      ace_profile : coap_dtls,
...
}

with their numeric values in diagnostic notation:

{
      / token_type / 34  : / PoP / 2,
      / expires_in / 2  : 86400,
      / ace_profile / 38 : / coap_dtls / 1,
...
}